Fermat
Search
K

Definition & Assignment

You can define or assign a variable by using the command set [ID] to [value]. If one wants to print the value of a variable, then, just call print [ID] to inspect the [value].
Here, you can find some examples:
set a to 1 //statement
print a //statement
set b to [1,2,3] //list
print b
Output:
> 1
> [1,2,3]