Well from my point of view Var it's very usefull.
Very often you don't wand the inputs in the functions to get changed and sometimes you wand them to change Var gives you this choice.
Example :
What confused me was that the user types takes all the changes without Var.
Very often you don't wand the inputs in the functions to get changed and sometimes you wand them to change Var gives you this choice.
Example :
Local number:Int = 1 Function getDouble:Int( number:Int) Return number*2 End Function Function setDouble(number:Int Var) number:*2 End Function Print number Print getDouble( number ) Print number setDouble( number ) Print number
What confused me was that the user types takes all the changes without Var.