.. something like

<%

if {[catch {set res [expr $someVar + 1]}]} {
       #someVar is not a number
} else {
        # it is a number
}

%>

-Nick
----- Original Message -----
From: "Matias Diez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 2:40 PM
Subject: [AOLSERVER] Integer Validation


Hi ,
Does anybody have an  example of ADP page to validate if
one variable is numeric ?

Thanks,
Mat�as Diez
Webmaster
AOL Argentina S.R.L.

Reply via email to