-
-
Save flaviut/a77d85d21e8c6c61c1ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In | |
| == | |
| var a: array[2..5,int] | |
| a[2] = 1 | |
| a[3] = 2 | |
| a[4] = 5 | |
| Out | |
| ===== | |
| typedef NI TY80007[4]; | |
| TY80007 a_80009; | |
| ... | |
| nimln(6, "test.nim"); | |
| a_80009[(2)- 2] = 1; | |
| nimln(7, "test.nim"); | |
| a_80009[(3)- 2] = 2; | |
| nimln(8, "test.nim"); | |
| a_80009[(4)- 2] = 5; | |
| nimln(10, "test.nim"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment