Function: |
Performs what is inside the braces as long as what is in parenthesis is true.
It comes in three variations: one for hash and arrays, one expanded and one compact version.
// expanded version
create($foo);
$foo=0;
while($foo<10) {
alert("$foo is now >>$foo<<");
$foo=$foo+1;}
// compact version
while($foo=0 and $foo<10 and $foo++) {
alert("$foo is now >>$foo<<");}
// hash version
create(%hashObject);
%hashObject["manOne"] = "first";
%hashObject["manTwo"] = "second";
while($newVar = %hashObject) {
alert(">>$newVar<< contains the value >>%hashObject[$newVar]<<");}
This doesn't outside of GALiRe Script. |
|