What identifier is expected here?

#import "rw.txt" rw

task main()
    if(rw != NULL)

Error: # Error: Identifier expected

I don't seem to be able to find a API describing the NXC API very well..


The error was caused because the file rw.txt was not uploaded to the nxt performing:

 t2n -v -put rw.txt

Solved the problem.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.