I'd also Like to see a foreach loop:


foreach (string,delimiter) { }
Code:
foreach (this is a string,32) {
  echo -a $fedata
}
would echo:
this
is
a
string


foreach -h (hashtable,<condition>)[.data] { }
Code:
 foreach -h (table,*match item*) {
  echo -a $feitem $fedata
}
echo each matching item, and it's data.
the .data property would have the loop match data


foreach -i (inifile,[topic],<condition>) { }
Code:
foreach -i (inifile,sometopic,*).data {
  echo -a $fetopic $feitem $fedata
}
matches items in an ini file.
the .data property will have the loop match data







I am SReject
My Stuff