File I/O not working
Opened this issue · 1 comments
ofekih commented
The fopen test fails:
HAI 1.4
CAN HAS STDIO?
I HAS A file
file R I IZ STDIO'Z OPEN YR "read.dat" AN YR "r" MKAY
file R I IZ STDIO'Z OPEN YR "write.dat" AN YR "w" MKAY
file R I IZ STDIO'Z OPEN YR "write.dat" AN YR "a" MKAY
file R I IZ STDIO'Z OPEN YR "write.dat" AN YR "r+" MKAY
file R I IZ STDIO'Z OPEN YR "write.dat" AN YR "w+" MKAY
file R I IZ STDIO'Z OPEN YR "write.dat" AN YR "a+" MKAY
KTHXBYE
Saying: variable does not exist: STDIO
leyarotheconquerer commented
This sounds a lot like you're not working with the future branch. CAN HAS STDIO?
is only available in the future branch, and you'll need to rebuild the project once you switch branches.
My tests seem to work just fine with your sample code. If your error persists, could you give us more information about your build environment?