Bug using 'now' as variable name in 4GL
Posted in 1993
Stuart Kemp — — source: Informix-list mailing list archive (1991-1998)
Using 4GL 4.10.UE2 on SCO 3.2.4 I tried using a variable called 'now' in a 4GL program ... core-dump city! The word 'now' is in the list of reserved words ... anyone know what is it for, or what it does? Either of the following will dump core when run: ----------- define d date main let d = now end main ----------- ----------- main call bug(today) end main function bug(now) define now date, y integer let y = year(now) end function ----------- -SRK -- Dept of Computer Science Internet: stuart@coral.cs.jcu.edu.au James Cook University Townsville Tel: +61 77 814992 Qld 4811 Australia FAX: +61 77 814029