Array: Difference between revisions

Content added Content deleted
(→‎{{header|REXX}}: added the REXX language. -- ~~~~)
m (→‎{{header|REXX}}: removed some blank lines. -- ~~~~)
Line 55: Line 55:


=={{header|REXX}}==
=={{header|REXX}}==
<lang rexx>/*REXX program snipetts to show a variety (types) of "array" indexing. */
<lang rexx>
/*REXX program snipetts to show a variety (types) of "array" indexing. */


/*REXX arrays aren't true arrays, but can be used (and thought) as such.*/
/*REXX arrays aren't true arrays, but can be used (and thought) as such.*/
Line 76: Line 75:
wierd.m=m**3 - m**2 /*assign something--> WIERD array*/
wierd.m=m**3 - m**2 /*assign something--> WIERD array*/
end
end





Line 134: Line 132:
/*on the number of dimensions of an array. I.E.: */
/*on the number of dimensions of an array. I.E.: */


ht=14411; z='feet'; mt.rainier.12.9.4.6.44.z.12.7.1.0.6.2.2.2.1 = ht
ht=14411; z='feet'; mt.rainier.12.9.4.6.44.z.12.7.1.0.6.2.2.2.1 = ht</lang>
</lang>


[[Category:Data Structures]]
[[Category:Data Structures]]