Pascal integration

In Pascal, the console output doesn’t show up in the bottom-left panel if there is no line break (#13#10). Hence the following code will show nothing:

write('hello world');

In Pascal, the {$H+} option may be added as a compiler parameter “-Sh” which would avoid to have to write it in the code (it is still possible to specify {$H-} if ever one wishes to use short strings).

In Pascal, we use “<” et “>” to compare as well. It happens (with generics) that a word is wrapped but it is rare. So the code editor should not add “>” or only if after “specialize” or “generic” keywords. For example:

type
  generic TList<T> = class
  ...
  IntList = specialize TList<integer>;