** newVar **

newVar - ISPPY Wiki

# OVERVEIW

The newVar command allows the user to input a string and have it saved to a Variable


# SYNTAX

To use the TxtIn command, type 'newVar(*INSERT WHAT YOU WANT THE VARIBLE TO BE NAMED HERE*, *VALUE*)'

NOTE: If you imported using 'import Lang' then you have to do 'newVar(*INSERT WHAT YOU WANT THE VARIBLE TO BE NAMED HERE*, *VALUE*)'

# HOW THIS IS ACCOMPLISHED IN PYTHON

This command is made by having a "function" with 2 input parameters, one for the name of the variable it spits out, and one for the value of the variable. The function saves the name and value inside of a dictonary called "Variables".


Next: defFunc
Go back home