Mode MacPas

From Lazarus wiki
Revision as of 14:32, 2 February 2004 by (talk) (Added list of differences beween FPC and the mac dialect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Tries to be compatible with the pascal dialects used on Macintosh.

At the moment the following is supported, more will be added:


Here is a (incomplete) list of differences between Mac pascal dialects and mode mac:

  • A nested procedure cannot be an actual parameter to a procedure.
  • No anonymous procedure types in formal parameters.
  • External procedures declared in the interface must have the directive external.
  • Continue instead of Cycle
  • Break instead of Leave
  • Exit should not have the name of the procedure to exit as parameter. Instead, for a function the value to return can be supplied as parameter.
  • No propagating uses
  • Compiler directives defined in the interface is not exported