Menu

This source program crashes the compiler ...

2019-05-29
2019-05-30
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-05-29

    Windows 7 64 bits pro, compiler 98.05 ...

     

    Last edit: Bertrand BAROTH 2019-05-29
  • Anobium

    Anobium - 2019-05-29

    Please inspect and correct line 388.

    There is an issue that #option explicit is NOT catching. Option explicit should have told you that the variable (in your typo) Tampn as not correct.

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-05-29

    Thanks ... Call me MURPHY !
    :)

     
    • Anobium

      Anobium - 2019-05-29

      Murphy finds a bug!!

       
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-05-29

    In fact, the most difficult is to debug a debugger !
    ;)
    And meanwhile, I found another error, which the compiler could not detect, it was a "logical" error : in line 364 the Sub refers to itself, instead of executing the Ser1Print (Tampon_emic).
    Generally speaking, the compiler crashes if instead of an underscore, one uses the "minus" sign in a variable name ...

     

    Last edit: Bertrand BAROTH 2019-05-29
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-05-30

    PS : I think that this will only occur if the minus sign is used in a variable name LEFT of the equal sign ; it's probable that, if this happens RIGHT, the compiler will accept this as a substraction and perhaps send a message if it doesn't find the corresponding variable names, assuming that #Option Explicit is activated.

     
    • Anobium

      Anobium - 2019-05-30

      Yes. The construct of variable is not working as expected.

       

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.