Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Pristup podacima u nizu struktura<br />
• može se pristupiti jednoj strukturi<br />
• polju u okviru odreĊene strukture<br />
• nekim vrednostim iz polja<br />
• ne može se formirati nov niz na osnovu izbora polja strukture<br />
» p.name<br />
ans =<br />
John Doe<br />
ans =<br />
Ann Lane<br />
ans =<br />
Ja<br />
» p(3)<br />
ans =<br />
name: 'Ja'<br />
billing: 0<br />
test: [2x2 double]<br />
» p(2).billing<br />
ans =<br />
28.5000<br />
» p(2).test([1 3],2)<br />
ans =<br />
70<br />
170<br />
» y=p.name<br />
??? Illegal right hand side in<br />
assignment. Too many elements.<br />
» [p.billing]<br />
ans =<br />
127.0000 28.5000 0