Initial import

This commit is contained in:
Andreas Rumpf 2008-06-22 16:14:11 +02:00
commit 405b86068e
324 changed files with 163599 additions and 0 deletions

15
tests/tstrdesc.nim Executable file
View file

@ -0,0 +1,15 @@
var
x: array [0..2, int]
x = [0, 1, 2]
type
TStringDesc = record
len, space: int # len and space without counting the terminating zero
data: array [0..0, char] # for the '\0' character
var
emptyString {.export: "emptyString".}: TStringDesc = (
len: 0, space: 0, data: ['\0']
)