Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File I/O not working #45

Open
ofekih opened this issue Oct 31, 2017 · 1 comment
Open

File I/O not working #45

ofekih opened this issue Oct 31, 2017 · 1 comment

Comments

@ofekih
Copy link

ofekih commented Oct 31, 2017

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
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants