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.
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment