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