See https://redmine.blackboxframework.org/issues/188.
After some analysis it turned out that the compiler correctly reports an error but in subsequent steps it generates a trap
and that is why the error message is not shown.
A simple work around is to replace the ASSERT by an error message
in DevCPL486.CheckForm leading to
Code: Select all
PROCEDURE CheckForm (form: BYTE; VAR mf: INTEGER);
BEGIN
IF form = Real32 THEN mf := 0
ELSIF form = Real64 THEN mf := 4
ELSIF form = Int32 THEN mf := 2
ELSIF form = Int16 THEN mf := 6
ELSE DevCPM.err(111); mf := 2
END
END CheckForm;
- Josef