Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 How to <> two variables?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Astralis
Senior Member

USA
1218 Posts

Posted - 09 January 2005 :  00:30:06  Show Profile  Send Astralis a Yahoo! Message
How can I find if something is greater or lesser than two variables?

Is this right?


If rs("x")<>"y" or "z" then
...
End if


Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 09 January 2005 :  00:31:51  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
if Cint(rs("x")) <> y or Cint(rs("x")) <> x then
...
end if

-Stim
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 09 January 2005 :  00:45:55  Show Profile  Send Astralis a Yahoo! Message
Ahh...thanks Da Stimulator! I get these hiccups and forget the simple things more often than I like to admit.
Go to Top of Page

quince
Junior Member

Canada
103 Posts

Posted - 11 January 2005 :  07:42:20  Show Profile
hi Da stimulator .... i have a queation and it might ne stupid ...

what do u mean by Cint ????

thanks
Go to Top of Page

PuppyF500
New Member

Netherlands
68 Posts

Posted - 11 January 2005 :  07:55:26  Show Profile
you cast it to an integer, which btw isn't needed IMHO... but hey, maybe i'm wrong
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07