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.
Stephen Manga — — source: Informix-list mailing list archive (1991-1998)
You may try this trick we have used previously it relies on turning off err=
or
trapping and checking the status after the assignment.
WHENEVER ANY ERROR CONTINUE -- Turn off the error handler
LET l_number =3D l_char --=20
WHENEVER ANY ERROR ...... -- Turn your own error trapping back on
-- Then check the status=20
IF status !=3D0 THEN
-- Bad char to number (integer) conversion
END IF
Stephen C Manga
Email: Stephen.Manga@dbgroup.co.nz
Stephen@quanta.co.nz
On Wed, 26 May 1999, [iso-8859-1] Jo=E3o Bonina wrote:
>=20
> =09Is there any 4GL function that checks if a string is an integer?
>=20
>=20
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.