Additionally, I'm reading the kixtart manual, and it says this:
Quote:
$GlobalVariable = 10
if it's the first reference to that variable, it declares it implicitly as a GLOBAL variable, "visible everywhere and in every script during this KiXtart session." When you say:
Quote:
DIM $LocalVariable
then it's a local variable only visible in the current script. Actually this brings up a question: theoretically, it's bad style to do this:
Code:
for each $group in $groups
?$group
$Message = $Message + " blah" + @crlf
next
$Message = $Message + " more blah" + @crlf
isn't it? In my opinion, it shouldn't even recognize $Message outside of the for loop. But it does recognize it because $Message is declared implicitly as a Global. This encourages bad style.
Keep on kiXin it solo style!
_________________________
kickin it solo