new files
This commit is contained in:
parent
3af7344581
commit
86c034bb8b
1364 changed files with 21352 additions and 0 deletions
9
Task/Arrays/REXX/arrays-1.rexx
Normal file
9
Task/Arrays/REXX/arrays-1.rexx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*REXX program demonstrates array usage. */
|
||||
a.='not found' /*value for all a.xxx (so far). */
|
||||
|
||||
do j=1 to 100 /*start at 1, define 100 array elements.*/
|
||||
a.j=-j*100 /*define element as negative J thousand.*/
|
||||
end /*the above defines 100 elements. */
|
||||
|
||||
say 'element 50 is:' a.50
|
||||
say 'element 3000 is:' a.3000
|
||||
Loading…
Add table
Add a link
Reference in a new issue