When the delphi compiler encounters the beginning of a scale factor (an ‘E’ or ‘e’ character) in a number, but no digits follow it, this error notice appears.
program Produce; const SpeedOfLight = 3.0E 8; (*<-- Error message here*) begin end.
We placed a space after ‘3.0E’ in the example; the number now terminates here for the compiler, and it is incomplete.
program Solve; const SpeedOfLight = 3.0E+8; begin end.
We could have just erased the blank, but we prefer the look of a ‘+’ symbol.
Leave a Reply