Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-22T07:42:34.673Z
Answers.LastActivityDate: 2015-09-23T10:15:36.897Z
Answers.LastEditDate: 2015-09-23T10:15:36.897Z
Answers.UserDisplayName: test
Body: <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>
  
Tags: <nxt><nxc>
Title: identifier expected?
UserDisplayName: test
ThreadText: # 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.
  
  
  ---
  
  