summary refs log tree commit diff stats
path: root/doc/tut1.rst
Commit message (Collapse)AuthorAgeFilesLines
* tut1.rst: Slices indices explanation (#5569)jlp7652017-03-221-1/+22
|
* Fixed typo (#5508)mark-summerfield2017-03-121-1/+1
|
* Nicer English (#5513)mark-summerfield2017-03-121-9/+9
|
* Nicer English (#5511)mark-summerfield2017-03-121-43/+43
|
* Nicer English (#5514)mark-summerfield2017-03-121-26/+26
|
* Update tut1.rst (#5510)mark-summerfield2017-03-121-6/+6
| | | | | | | | | | | | | | | | | | | In general: s/have to/must/g - but you can't do this mechanically because sometimes the must has to go back a word (e.g., line 519). This looks really odd to me: if thisIsaLongCondition() and thisIsAnotherLongCondition(1, 2, 3, 4): x = true I would have expected: if thisIsaLongCondition() and thisIsAnotherLongCondition( 1, 2, 3, 4): x = true If the second form is valid and good Nim style then I suggest using it rather than the original. However, if the original is the preferred style then this should be mentioned in the text since it is unusual. Since Nim is case-sensitive I think it is bad to write wrongly cased names, e.g., ``Bool`` is a built-in type on line 589. This isn't true since Bool isn't anything, but bool is. So in these cases I'd always reword to avoid this problem (and that's what I've done -- and it also avoids "bool. Bool" which was ugly).
* Suggested small change to code (#5509)mark-summerfield2017-03-121-2/+2
| | | In a code example I think it best to either use full names (index, item) or abbreviated names where that's common (i, item) but not non-standard abbreviations (indx, itm). So I've changed it to index, item since it is a tutorial, although i, item would be just as good.
* Removed $ from echo calls (#5368)Yuriy Glukhov2017-02-101-11/+11
|
* failing trailing underscore, caused no hyperlinkAnthon van der Neut2017-01-211-1/+1
|
* Further tutorial updates (#5176)jlp7652017-01-071-0/+13
| | | | | | * tut1: added multiline comments * tut2: replaced expr/stmt with untyped/typed * added some more template/macro example * remove immediate pragma from example
* Tutorial1 additionsjlp7652017-01-031-1/+29
| | | | Add extra For Statement stuff Add Distinct Types
* renamed most remaining .txt documentation files to .rstAraq2016-06-071-0/+1696