-
Notifications
You must be signed in to change notification settings - Fork 4
Home
TheRealMichaelWang edited this page May 18, 2021
·
13 revisions
if condition1 {
action1()
}
elif condition2 {
action2()
}
elif condition3 {
action3()
}
while condition {
do_action()
}
proc my_procedure(argument) {
do_something()
return something
}
and calling one...
my_procedure(5)
myvar = 10
or making a static one...
static myvar = 10
or making a constant one...
const myconst = 10
Note: Grouping doesn't apply to constants.
a = b * c
a = b + c
a = b / c
a = b - c
a = b ^ c
a = b++
a = b--