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/treadln.nim Executable file
View file

@ -0,0 +1,15 @@
# test the improved readline handling that does not care whether its
# Macintosh, Unix or Windows text format.
import
io
var
inp: tTextFile
line: string
if openFile(inp, "readme.txt"):
while not EndOfFile(inp):
line = readLine(inp)
echo("#" & line & "#")
closeFile(inp)