Menu

Error: GCASM: Duplicate, conflicting definition for SYSFNBYTE1

mkstevo
2021-02-24
2021-02-24
  • mkstevo

    mkstevo - 2021-02-24

    Does anyone have an idea as to how I can view which of my variable names are causing this error please?

    Error: GCASM: Duplicate, conflicting definition for SYSFNBYTE1

    I keep trying renaming all my variables, but can't seem to locate it.

     
  • mkstevo

    mkstevo - 2021-02-24

    Turns out, this wasn't actually a duplicate definition. Nor did any of my names clash with System variable names.

    I had accidentally attempted to add together two "Functions" rather than the result of two "Functions".

    Let CalcChkSum = CalcChkSum - Data(DataIn)
    

    Where "CalcChkSum" is a function.

    Should have been:

    Let Chk = CalcChkSum - Data(DataIn)
    
     

    Last edit: mkstevo 2021-02-24
  • Anobium

    Anobium - 2021-02-24

    Case closed then :-)

     
    • mkstevo

      mkstevo - 2021-02-24

      Indeed. Mystery solved.

      In my defence, the error message was rather cryptic relative to the cause.

      And you can bet your life, next time I try to do the same thing, I won't remember at all...
      Perhaps when I search the site, I'll turn up this thread and then it will be: Face, meet palm!

       

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.