Actually, looking at MCA's code further, it can't work. The IP address in the example is the subnet and not the machine IP. @IPAddress0 returns the machine's IP. If wanting to enumerate if a machine is within a class 'C' boundary, the following code could be used.
code:
Break on
IF Left(@ipaddress0,12) = ' 10. 33. 16.'
'User is on LAN segment 10.33.16.0' ?
ELSE
'User has another ip address' ?
ENDIF
get $_

Of course this would only work for a mask of '255.255.255.0' and if one needed to enumerate subnets on other boundaries, then Jen's UDFs would be the logical choice.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.