Menu

Error: GCASM: Duplicate, conflicting definition for ELSE1_1

Help
Manuel
2020-02-21
2020-02-21
  • Manuel

    Manuel - 2020-02-21

    Al realizar una secuencia

    if button then
    select case var
    case var=val1
    code1
    case var=val2
    code2
    case var=val3
    code3
    end select
    else
    select case var2
    case var2=val4
    code4
    case var2=val5
    code5
    case var2=val6
    code6
    end select

    end if
    aparece este mensaje
    Error: GCASM: Duplicate, conflicting definition for ELSE1_1

     

    Last edit: Manuel 2020-02-21
  • Anobium

    Anobium - 2020-02-21

    What version of Great Cow BASIC? The easy way to check... look at the top line in the ASM file.

    To resolve your issue. I would ensure you use the full IF - THEN - ENDIF syntax. Therefore change the IF THEN to full IF - THEN - ENDIFs

    Let us know if this resolves.

     
  • Anobium

    Anobium - 2020-02-21

    A deeper look at you code.
    You are missing some end if... see the attached code.

     

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.