Non-functional integer type, if function
This commit is contained in:
5
tests/create.basm
Normal file
5
tests/create.basm
Normal file
@@ -0,0 +1,5 @@
|
||||
create bool *1 = true
|
||||
create string *1 = "A"
|
||||
if bool {
|
||||
set string = "B"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
create str1 *5 = "Hello"
|
||||
create str2 *10 = "Hello!"
|
||||
|
||||
print str1
|
||||
print str2
|
||||
|
||||
set str1 = "World!"
|
||||
print str1
|
||||
Reference in New Issue
Block a user