[fpc-pascal]typed constants

Aitor SantamarĂ­a Merino aitor.sm at wanadoo.es
Thu Jan 2 18:04:05 CET 2003

Michael.VanCanneyt at Wisa.be wrote:

>  TEnum = (enOne,entwo,enThree=4);
>In Free pascal, it was:
>  TEnum = (enOne,entwo,enThree:=4);
>Its main purpose is to support translation of C enums
Just a sidenote curiosity, talking about supported and not supported, I 
noticed (by chance ;-)) that FPC also allows the use of C's operators << 
and >> (which I prefer over SHR and SHL), but makes me wonder of the 
convenience of having these operators regarding compatibility.
Probably it was said or written in some documentation, or I am 
completely mislead and this is a Delphi feature (or perhaps there's a 
switch to compile in pure BorlandPascal).


More information about the fpc-pascal mailing list