Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Colonel Panic — — source: Informix-list mailing list archive (1991-1998)
In article <18670@autodesk.COM> johnge@Autodesk.COM (John George) writes:
>To convert a char to numberic:
>
> #### Add a Zero
> LET numericvar = charvar + 0
You don't need to add a zero; just do LET numericvar = charvar
>{IF IT'S NOT A VALID NUMBER; NUMERICVAR WILL = ZERO }
No, if it's not a valid number, "status" will be nonzero, and the value of
numericvar is undefined.
--
Alan Denney aland@informix.com {pyramid|uunet}!infmx!aland
Elvis: shot a TV when bored. Amish Elvis: beat a book with a stick when bored.
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.