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)
 is the variable a number?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

redbrad0
Advanced Member

USA
3725 Posts

Posted - 16 March 2001 :  21:03:14  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
how can i tell if a variable is a number? my mind is soooo fried right now...


if not numb(strMItemsPerPage) then
strErrorMessage = strErrorMessage & "<li>'Items per page' must be a number</li>"
end if


Brad

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 16 March 2001 :  21:17:46  Show Profile  Visit HuwR's Homepage
if not IsNumeric(strMItemsPerPage) then
strErrorMessage = strErrorMessage & "<li>'Items per page' must be a number</li>"
end if

Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 16 March 2001 :  22:03:49  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
thats huwr

lol i was trying numeric not isnumeric

hehehe

Brad
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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07