Next: , Previous: Variables, Up: Marsyas Expression Syntax Assignment ( << >> )

Assignment is performed using the assignment operators. Left assignment x << 5 and right assignment 5 >> x. These operators are equivalent. Assignment of a value to a variable defines the variable type. Once a variable is 'typed' it cannot be assigned another type. Note there is no scope, all variables are at the 'top level.'

Assignment Sugar ( <<+ +>> etc... )

Note: left and right assignment do not necessarily yield the same results.