Merge pull request #1075 from flaviut/inlinedocs

Add some documentations and code examples in system
This commit is contained in:
Andreas Rumpf
2014-04-09 22:56:18 +02:00
71 changed files with 2521 additions and 15 deletions

View File

@@ -0,0 +1,14 @@
discard """
errormsg: "index out of bounds"
line: 11
"""
type TTestArr = array[0..1, int16]
var f: TTestArr
f[0] = 30
f[1] = 40
f[2] = 50
f[3] = 60
echo(repr(f))