The Joshtra Programming Language
Wednesday, November 16, 2011
The Variable Killer
You can remove a variable from the Joshtra environment using the keyword
rip
Example
a : 5; # Define a new variable
output a; # Print the new variable value
rip a; # Destroy the variable
output a; # ERROR the variable does not exist anymore!!!
The
rip
command can be applied to arrays as well.
Newer Posts
Older Posts
Home
Subscribe to:
Comments (Atom)