initial stage...
[yu.git] / test / lua / io.lx
blobc788e1cb8d5d730f93667973399583602d886b57
1 extern
2         func "io.write" as write(t$)
3         func "io.read" as read$()
4         func "io.open" as open(fn$,mode$)->File
5         func "io.open" as open(fn$)->File
6         func "io.type" as type(f:File)->File
8         class File
9                 method read$()
10                 method write(t$)
11                 method close()
12                 method flush()
13                 method seek(whence$,offset#)
14                 
15         end
16         
17         
18 end