andrew.benn...@ns.sympatico.ca schrieb:
Procedure Init(Out X : DataA ; Const N : Longint) ;

1) I substitute "Var" for "Out". This leads to the warning that X is not
initialized.
Which is correct. If you define a parameter to be for "out"put only the compiler does exactly this.


2) I substitute "Array Of Longint" for "DataA".

I don't know why this should work if you still use "Out".
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to