View Single Post

   
  #2 (permalink)  
Old 04-19-2008, 06:51 PM
Rawen's Claw
 
Posts: n/a
Default Re: Not a number check in Informix 4gl

If you're just trying to check number if it is valid (integer or real), you
can assign string value to numeric variable and check if it is null
afterwards. Of course, you must have WHENEVER ERROR CONTINUE clause before
that in your program.

For checking IP addresses, you'll have to use C (or C++) language code and
call it from your 4GL program.

"Suket" <suketsinha@indiatimes.com> wrote in message
news:b30fd489.0309220227.599561ab@posting.google.c om...
> Any in built function in Informix 4gl prog language to check whether a
> particular i/p is numeric or not.


Reply With Quote