On Thu, 9 Aug 2001, Matias Diez wrote:

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

How about:

if {[scan $possible_integer %d dummy] != 1} then {
    ns_puts "Error!"
} else {
    ns_puts "Ok, variable is integer."
}

Daniel

Reply via email to