Minor typo fix
This commit is contained in:
parent
6d9e695337
commit
fa2aeb5493
|
@ -74,7 +74,7 @@ In C, you can pass an ``int[3]`` to the foobar function, and the compiler will n
|
||||||
|
|
||||||
Nim arrays can also be indexed from any number. That is, ``z: array[1..4, int]`` is an array of int indexed from 1 to 4. Trying to access ``z[0]`` would throw an index out bounds error.
|
Nim arrays can also be indexed from any number. That is, ``z: array[1..4, int]`` is an array of int indexed from 1 to 4. Trying to access ``z[0]`` would throw an index out bounds error.
|
||||||
|
|
||||||
In Nim you are strongly discouraged from using pointers in Nim, and you can accomplish almost everything you'd otherwise use pointers for with normal arguments, "var" arguments, variables, and "ref".
|
In Nim you are strongly discouraged from using pointers, and you can accomplish almost everything you'd otherwise use pointers for with normal arguments, "var" arguments, variables, and "ref".
|
||||||
|
|
||||||
|
|
||||||
### Object-Orientation
|
### Object-Orientation
|
||||||
|
|
Loading…
Reference in New Issue