A dynamic script almost always creates, uses, or updates various pieces of data during its execution. Variables are the most common pieces of dynamic data found in scripts and represent pieces of data that have been given unique names. Once a variable has been created and assigned a value, its value can be accessed anywhere in the script simply by inserting its name.
In our sample script above, we gave a variable name of mugCost to the value of 5.00. Later in the script, the name of that variable is used to refer to the value it contains.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment