New list demonstration:
## animal_list.us to execute: usl animal_list.us or just type as you see it in the USL shell ## @animal = "tiger" list animals animals = ("elephant",@animal,"chameleon") # animals contains: elephant, tiger, chameleon @animal = animals[0] # @animal contains: elephant try animals[0] = "shark" animals[1] = "whale" animals[2] = "dolphin" animals[3] = "This will throw an index out of bounds exception." catch say "The index value exceeded the list size." caught see animals # animals contains: shark, whale, dolphin # eof
I've updated the MediaWiki and you can find it under the "Hosted Apps" tab at the sourceforge link below.
To download 3.7.5, you can visit any of the following links:
sourceforge
freecode
No comments:
Post a Comment