Hi,

Looking for a creative way to loop through the possible @IPADDRESSx system macros (@IPADDRESS0 through @IPADDRESS3):

A pseudo-code example would be something like:

 Code:
For $i = 0 to 3
   If InStr(@IPADDRESS<$i>,"192.168")
      Goto ExitLoop
   EndIf
Next
:ExitLoop


Possible? Any ideas?

Thanks.


Edited by jmuirh (2008-02-21 05:47 AM)