Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
/* NetRexx */
|
||||
options replace format comments java crossref symbols nobinary
|
||||
|
||||
say "give me the X and Y dimensions as two positive integers:"
|
||||
parse ask xDim yDim
|
||||
xPos = xDim % 2 -- integer divide to get close to the middle of the array
|
||||
yPos = yDim % 2
|
||||
|
||||
arry = Rexx[xDim, yDim]
|
||||
arry[xPos, yPos] = xDim / yDim -- make up a value...
|
||||
say "arry["xPos","yPos"]:" arry[xPos, yPos]
|
||||
return
|
||||
Loading…
Add table
Add a link
Reference in a new issue