Re: peeve
Posted in 1993
Colonel Panic (aland@informix.com) wrote: : In article <1sopovINNc9h@emory.mathcs.emory.edu> jparker@hpbs2561.boi.hp.com (Jack Parker) writes: : >IF a != b : >OR (a IS NULL AND b IS NOT NULL) : >OR (a IS NOT NULL AND b IS NULL ) THEN ..... : So would I. That's why I do this instead: : IF A = B : THEN -- nothing : ELSE ... : END IF In my 4GL programs, this is what I've been using to check whether a user changed a field. Change means enter a new value in a previously empty field or alter the existing value. Does the field_touched()-function that's new in 4GL 4.1 accomplish the same or will I still have to use that construction over and over again? Regards, Richard -- +----------------------------+-------------------------------------------+ | Dr. Richard Spitz | INTERNET: spitz@ana.med.uni-muenchen.de | | EDV-Gruppe Anaesthesie | Tel : +49-89-7095-3421 | | Klinikum Grosshadern | FAX : +49-89-7095-8886 | | Munich, Germany | | +----------------------------+-------------------------------------------+