Menu

And a strange error again ...

2019-06-27
2019-06-27
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-06-27

    Hello again (unfortunately)
    The message is :
    Error: GCASM: Symbol SYSTEMP3ANSYSTEMP1 has not been defined
    The source is attached (still my model railroad sequencer), it was edited from a version using soft RS232, I think there is "something" of it remaining, but where ? I use the last version of GCBasic.
    Thanks for any help ...

     
  • Anobium

    Anobium - 2019-06-27

    Source line 509, 516 etc all have incorrect syntax.

    If you are using the IDE then the AND would be in BLUE. The AN is in BLACK.

    :-)

    I will add the list to improve the compiler messages.

    Evan

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-06-27

    Thanks ... Very difficult to find, in fact, for somebody who doesn't know all features of the system ; for myself I found the "mystery" variable in the ASM code in the first section of "Boucle_manuel", i.e. absolutely not related with the real issue !

     

    Last edit: Bertrand BAROTH 2019-06-27
    • Anobium

      Anobium - 2019-06-27

      :-)

      My method to find the error.
      1. Ensure you have the Show BASIC code as comments in ASM set.
      2. Compile. Await the error.
      3. Search the ASM for the errant variable.
      4. Look at the souce BASIC code.
      5. Fix source.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.