[fpc-pascal] IntToStr implementation

Adriaan van Os adriaan at adriaan.biz
Thu Jan 18 11:30:42 CET 2024


Michael Van Canneyt via fpc-pascal wrote:
> 
> 
> More accurately, I meant: you cannot write a function declaration to 
> handle that syntax.

It is true that a regular (non-built-in) procedure/function with that syntax can not be declared.

Some more strange ducks

- Exit allowing Program as parameter (UCSD-Pasca)
- Scan allowing a partial-expression as second parameter (UCSD-Pascal) e.g. Scan( -26, =':', S)
- SizeOf allowing a type-identifier as parameter

etcetera.

Regards,

Adriaan van Os


More information about the fpc-pascal mailing list