Sven Barth:

> The  modes  are for the case have code written for
> other compilers (TP, MacPas, Delhi, ISO)  work  in
> FPC (as good as reasonably possible). We do howev-
> er *not* guarantee that code  written  in  one  of
> these  modes  with  FPC  compiles or runs with the
> corresponding compiler.

Thank you and others for your explanations.  I  have
a  related  question  which  seems unworthy of a new
thread.  I can't compile this program with -Miso:

  Program Test;
  var object: integer;
  begin
  end.

Free Pascal tells me that

  test.pas(2,5)  Fatal:  Syntax  error,   "identifier"
  expected but "OBJECT" found.

According to the documentation, in this mode

  the  compiler  complies  with  the  requirements  of
  level 0 and level 1 of ISO/IEC 7185.

but ISO/IEC 7185 does not list  'object'  as  a  re-
served  word.  I have also failed to find an -M fea-
ture responsible for the support of stack-based  ob-
jects.  How can I disable it?

-- 
Please, do not forward replies to my e-mail.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to