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
- [AOLSERVER] Integer Validation Matias Diez
- Re: [AOLSERVER] Integer Validation Rusty Brooks
- Re: [AOLSERVER] Integer Validation ricard helene
- Re: [AOLSERVER] Integer Validation Nick Kaiho
- Re: [AOLSERVER] Integer Validation James Ranson
- Re: [AOLSERVER] Integer Validation Jim Wilcoxson
- Re: [AOLSERVER] Integer Validation Mike Hoegeman
- Dani�l Mantione
