You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
269 B
28 lines
269 B
3 years ago
|
float: x = 10.1
|
||
|
|
||
|
func: hello(float: x) = {
|
||
|
stdout: out = x * 10
|
||
|
}
|
||
|
|
||
|
{
|
||
|
str: name
|
||
|
int: var = 1
|
||
|
name = hej hopp
|
||
|
}
|
||
|
|
||
|
|
||
|
hello(x)
|
||
|
|
||
|
func: good_bye(void: none) = int: getout = 0
|
||
|
|
||
|
good_bye()
|
||
|
|
||
|
if (x ? 1) {
|
||
|
hello(x)
|
||
|
}
|
||
|
|
||
|
while (x < 1) {
|
||
|
x = x -1
|
||
|
hello(x)
|
||
|
}
|