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.

27 lines
494 B

func: print(number: x, string: new) = {
stdout: out = x
stdout: newline = new
}
string: new = {
}
number: test = 5
number: another
another = 5.5
number: third = test + another
number: fourth = test - another
number: fifth = test * another
number: sixth = test / another
number: seventh = test % another
number: eighth = 7 % test
number: nineth = 7 + 5
print(third, new)
print(fourth, new)
print(fifth, new)
print(sixth, new)
print(seventh, new)
print(eighth, new)
print(nineth, new)