Menu

Error: GCASM: Symbol 32[WORD]_H has not been

Help
2009-12-18
2013-05-30
  • Nobody/Anonymous

    I get all the files: asm, hex … and an error.txt file with: <BR><BR>
    <B>Error: GCASM: Symbol 32_H has not been defined </B>

    What does that mean ?
    What should I do to avoid this ?

     
  • Hugh Considine

    Hugh Considine - 2009-12-19

    It means that there is an error somewhere. I can't tell you what or where the error is unless you post your original BASIC program, or at least enough code to reproduce the exact error message!

     
  • Capaction

    Capaction - 2009-12-19

    Hugh,<BR>
    The GCB file is there;<BR><BR>
    <B>http://capaction.free.fr/JVC91219a.txt</B><BR><BR>
    Thank you for your attention,<BE>
    J a c q u e s

     
  • Hugh Considine

    Hugh Considine - 2009-12-20

    Thanks for posting that!

    The trouble is with this line (line 212):
    TimeQuarterCycle = CapturedCnt

    GCBASIC generally expects the cast to be placed before the name of whatever is being converted, not after. This line works:

    TimeQuarterCycle = CapturedCnt

    I'll add a better warning message to GCBASIC, and maybe make it a bit more tolerant of having the cast on the right hand side.

     
  • Capaction

    Capaction - 2009-12-20

    Thank you Hugh.<BR>
    I did not notice in the GCB HELP that the cast must be before  the variable.
    It is obvious when you think about it.<BR>  it will be good to say it in the GCB  HELP or at least give an error message that say it.

     

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.