[Lazarus] Jedi Code Format barfs on an Octal number

Michael Van Canneyt michael at freepascal.org
Tue Dec 17 10:17:52 CET 2013



On Tue, 17 Dec 2013, Frederic Da Vitoria wrote:

> 2013/12/17 Jürgen Hestermann <juergen.hestermann at gmx.de>
>
>       Am 2013-12-17 02:42, schrieb waldo kitty:
>             yes, but it is not available in TP/BP and (IIRC) Delphi...
> 
> 
> I am wondering why octal numbers are not allowed in these modes.
> Why not allow them in all modes?
> I can't see how this would cause problems.
> It would only avoid them.
> 
> 
> Maybe because these modes could be used to ensure that the developer is able to switch back to TP/BP or Delphi. If these modes
> accepted features which TP/BP or Delphi don't understand, switching back would become difficult. Or you could create a source
> file which you want to be compatible with FPC and with TP. If you use octal, it won't work.

That is exactly the idea.

Michael.


More information about the Lazarus mailing list