Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


RE: need help with exclusion

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,29115
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> RE: need help with exclusion
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: <<   < prev  1 [2]
Login
Message << Older Topic   Newer Topic >>
 RE: need help with exclusion - 12/22/2005 6:01:51 AM   
  didorno

 

Posts: 361
Score: 0
Joined: 2/12/2005
From:
Status: offline
MBouchard wrote
quote:

Wouldn't it be better to use OR instead of AND?  I hate this somethings, OR and AND that is,  but to me it seems that OR would be better suited here.  Because if the file name is save.doc it would not be bla.pen so it would not be true and the deletion would happen.


I think you made a mistake. Both sides of the AND must be true to get an expression which is true.
Sometimes it helps if you remind that holds :
Not(X) And Not(Y) = Not(X Or Y)

Good luck !

_____________________________

Regular Expression ? I (L+o{1,}v{1,3}e\s)+[iI]t!$

(in reply to mbouchard)
 
 
Post #: 21
 
 
Page:  <<   < prev  1 [2]
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> RE: need help with exclusion Page: <<   < prev  1 [2]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts