Category:Variables

From Scriptwiki
Revision as of 13:03, 25 April 2006 by Microbe (talk | contribs) (added some info about variables)

Jump to: navigation, search

Variables are a way in mIRC (and in every other language) to store (temporary) data for convenience and modification reasons.

In mIRC, all variables are either local or global. Local variables are lost as soon as the executing script ends and global variables are stored until they are unset. Therefore local variables are good for really temporary storing inside the script, for example while loop iterators (increasing some variable until the while loop's condition isn't $true anymore) and global variables are good for storing data for a longer duration, for example keeping track of a channel's peak.

Pages in category "Variables"

The following 8 pages are in this category, out of 8 total.