Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Stride of an array
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Array cross-section === Some languages like [[PL/I]] or [[Fortran]] allow what is known as an ''array cross-section'', which selects certain columns or rows from a larger array.<ref>{{cite book|last=Hughes|first=Joan K|title=PL/I Structured Programming (second ed.)|year=1979|publisher=John Wiley and Sons|location=New York|isbn=0-471-01908-9|url-access=registration|url=https://archive.org/details/plistructuredpr00hugh}}</ref>{{rp|p.262}} For example, if a two-dimensional array is declared as <syntaxhighlight lang="m2"> declare some_array (12,2)fixed; </syntaxhighlight> an array of one dimension consisting only of the second column may be referenced as <syntaxhighlight lang="m2"> some_array(*,2) </syntaxhighlight>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)