Command tools changes
Modifications to consider regarding command line tools.
This topic describes changes that may need code review.
See also new 6.00 features of commands.
Compilation error on comparing different record types
Before version 6.00.00, the fglcomp compiler was displaying the warning -8442,
if the code tries to compare records of different types. Starting with 6.00.00, the
fglcomp compiler now produces an error -8442:
DEFINE r1 RECORD
id INTEGER, name VARCHAR(50)
END RECORD
DEFINE r2 RECORD
id INTEGER, name VARCHAR(100)
END RECORD
MAIN
IF r1.* == r2.* THEN
DISPLAY "Identical"
END IF
END MAINCompilation command:
$ fglcomp -M main.4gl
main.4gl:8:8:8:19:error:(-8442) Incompatible types: 'RECORD <anonymous>'
and 'RECORD <anonymous>' are not comparable.Changes in earlier versions
Make sure to check the upgrade notes of earlier versions, to not miss changes introduced in maintenance releases.