fix grammar
This commit is contained in:
parent
f6243d5900
commit
eef0e1bde1
2 changed files with 22 additions and 22 deletions
|
|
@ -106,8 +106,8 @@ compile-time error. Usage with inheritance should be defined and documented.
|
||||||
Unchecked pragma
|
Unchecked pragma
|
||||||
----------------
|
----------------
|
||||||
The ``unchecked`` pragma can be used to mark a named array as ``unchecked``
|
The ``unchecked`` pragma can be used to mark a named array as ``unchecked``
|
||||||
meaning its bounds are not checked. This is often useful when one wishes to
|
meaning its bounds are not checked. This is often useful to
|
||||||
implement their own flexibly sized arrays. Additionally an unchecked array is
|
implement customized flexibly sized arrays. Additionally an unchecked array is
|
||||||
translated into a C array of undetermined size:
|
translated into a C array of undetermined size:
|
||||||
|
|
||||||
.. code-block:: nim
|
.. code-block:: nim
|
||||||
|
|
|
||||||
|
|
@ -333,7 +333,7 @@ The while statement is a simple looping construct:
|
||||||
name = readLine(stdin)
|
name = readLine(stdin)
|
||||||
# no ``var``, because we do not declare a new variable here
|
# no ``var``, because we do not declare a new variable here
|
||||||
|
|
||||||
The example uses a while loop to keep asking the user for their name, as long
|
The example uses a while loop to keep asking the users for their name, as long
|
||||||
as the user types in nothing (only presses RETURN).
|
as the user types in nothing (only presses RETURN).
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue