-
July 26th, 2008, 10:55 AM
#1
KIX Questions
Hi,
This script format works for subnets with a 255.255.255.0 mask.
IF
(SubStr(@IPADDRESS0,1,11)="192.168. 1") OR
(SubStr(@IPADDRESS0,1,11)="192.168. 1")
; Whatever....
EndIF
Why is OR and the second substring line necessary?
I assume that the @IPADRESS macro values 0, 1, 11 are binary and cover the possiblity of a host having multiple IP addresses?
Thanks.
____________________________________________
It is my pure and virtuous heart that
gives me the strength of ten!
Last edited by houseisland; July 26th, 2008 at 10:59 AM.
Similar Threads
-
By houseisland in forum Tech Lounge & Tales
Replies: 1
Last Post: January 2nd, 2008, 06:25 PM
-
By bxf in forum Windows XP
Replies: 18
Last Post: September 3rd, 2004, 07:23 AM
-
By Fubarian in forum Tech Lounge & Tales
Replies: 6
Last Post: August 23rd, 2002, 11:46 AM
-
By BuLkHoGaN in forum Tech-To-Tech
Replies: 21
Last Post: June 10th, 2002, 12:53 AM
-
By Gazzza in forum Networking
Replies: 1
Last Post: March 26th, 2002, 07:22 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks