Updated Feature suggestions (markdown)

This commit is contained in:
Stringer 2013-09-19 14:27:52 -07:00
parent 79485dde2e
commit e0fb572dd0
1 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,8 @@ quickly).
- a ternary condition - like ?: in C, or iif()
- You can do: ``if cond: a else: b``, IIRC the ``?:`` won't make it into Nimrod.
- a simple way of indexing the last element of an array or sequence, to avoid long-hand code like arr[arr.len-1]
- a simple way of indexing the last element of an array or sequence, to avoid long-hand code like ``arr[arr.len-1]``
- You can do: ``arr[arr.high]`` or ``arr[arr.low]`` for indexing the last and first element or an array or sequence.
- a shorthand way of discarding the return value of a proc (to improve readability)