I've already read that its not built into pascal but how do I get around this? If I have:
contacts : array [1 .. 256] of JSMContact; the only way to initialize it is? with contacts[1] do begin Name := ''; PhoneNo := ''; end; Also if I am passing a var to a procedure how would use a pointer as parameter? { Wont compile :( } procedure JSMContactAdd(contact : ^JSMContact); JSMContactAdd(@contacts[1]);
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal