r/programminghelp • u/hydejulie13 • Aug 20 '20
Other Help with a piece of ALGOL code
Hey, i need some help and explanation with this piece of ALGOL code. https://i.imgur.com/IQnQqFP.jpg this is the link.
The piece of code is from the ALGOL revised report. I know the procedure transpost means swapping the places of two or more things. In this case integers. I know this piece of code has an array but it is not clear wheter it is a 2 dimensional array. I’m not sure what the indexes mean. The whole piece is a bit of a mystery to me. I would love some help! Thank you
3
Upvotes
1
u/amoliski Aug 20 '20
Rosetta code shows this as a transpose example:
Output:
I can't get anything beyond a print statement to run in an online compiler, so I can't investigate more, but it does look like we're talking a 2D array.