[fpc-pascal] Re: String type compatibility
pascaldragon at googlemail.com
Wed Apr 3 14:48:34 CEST 2013
Am 03.04.2013 11:44, schrieb leledumbo:
>> BTW, recently there are many discussions about language features, now I
> would like to ask one question, why the following is not supported in
> procedure SomeThing(AParam: array[0..10] of Integer);
> procedure SomeThing(Aparam: string);
> But you have to define a custom type first?
> Delphi compatibility and something else (should be documented on the wiki,
> but I forgot on which release).
It's because in Pascal you need to declare types first.
More information about the fpc-pascal