<p>The error was caused because the file <code>rw.txt</code> was not uploaded to the nxt performing:</p>

<pre><code> t2n -v -put rw.txt
</code></pre>

<p>Solved the problem.</p>

CC BY-SA 3.0
2015-09-22T07:42:34.673Z
2015-09-23T10:15:36.897Z
2015-09-23T10:15:36.897Z
test
<p>What identifier is expected here?</p>

<pre><code>#import "rw.txt" rw

task main()
{
    if(rw != NULL)
    {
        OnRev(OUT_A,75);
        Wait(100);
    }
}

Error: # Error: Identifier expected
</code></pre>

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

<nxt><nxc>
identifier expected?
test
# identifier expected?

(Asked by: username_0 on 2015-09-21)

What identifier is expected here?
#import "rw.txt" rw

task main()
{
    if(rw != NULL)
    {
        OnRev(OUT_A,75);
        Wait(100);
    }
}

Error: # Error: Identifier expected

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

**Tags:** nxt, nxc


---

## 1 answers

### Answer by username_0 on 2015-09-22. Score: 1

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

Solved the problem.


---

