##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: October 2016 # Modified: 2016-10-14/14:50-0400 ##+ # # variable.icn, demonstrate reflective variable name lookup # procedure main() this := 42 v := variable("this") write(v) # assignment made a copy of the integer this := 44 write(v) # structures stay as references during assignment L := [1,2,3] l := variable("L") L[2] := 4 write(l[2]) end