
<p class=Code>msgbox &quot;The person's slary is &quot; + str(person.salary)</p>

<p class=Code>&nbsp;</p>

<p class=Code>There may also be arrays of the user-defined type. </p>

<p class=Code>Dim workers(100) as PersonType </p>

<p class=Code>Sum=0</p>

<p class=Code>For I=1 to noWorkers</p>

<p class=Code>  Sum=Sum +
workers.salary(i)</p>

<p class=Code>Next</p>

<p class=MsoNormal>Avg=sum / noWorkers </p>

</div>

</body>

</html>
