[Lazarus] Are private data not allowed? Why?

Sven Barth pascaldragon at googlemail.com
Mon Nov 14 12:13:54 CET 2011


Am 13.11.2011 19:49, schrieb Dimitri Smits:
>> On 13.11.2011 01:46, Massimo Soricetti wrote:
>>> I would like an explanation on this code (noob question, maybe):
>>>
>>> private
>>> sDati: array[0..3] of string;
>>> procedure Verifica(var: sDati array of string);
>>>
>
> I might be wrong here, but shouldn't the colon (":") be after the sDati var parameters name or was that a typo on behalf of the OP?

I personally assumed that it was a typo ^^
(and yes, it should be "var sDati: array of String")

Regards,
Sven





More information about the Lazarus mailing list