Menu

Another bug in the IDE ...

2022-03-02
2022-03-02
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-03-02

    Look at lines 520-531 : the lines 521 to 530 are one "block", so are the lines 520 to 531 ; but the IDE signals that the "End If" at 530 belongs to the "If" on line 520 and the "End If" on line 531 is an "orphan" ! Unfortunately I had not yet the opportunity to test the compiled prog ...

     

    Last edit: Bertrand BAROTH 2022-03-02
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-03-02

    This issue disappears if I put all parts of instruction 521 on one single line, i.e. if I don't use the continuation underscore ... but the program is very less readable ! I compared both hex versions, they are the same ...

     

    Last edit: Bertrand BAROTH 2022-03-02
  • Anobium

    Anobium - 2022-03-02

    Well.... It is a display folding issue only in SynWrite. We need Frank to resolve.

    It is not an issue in the new IDE GCStudio.

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-03-02

    And another issue is : if I don't leave a blank in front of each continuation sign (underscore) they are discarded, in my case this causes an "unbalanced braces" error message.

     
    • Anobium

      Anobium - 2022-03-02

      Can you upload the file with the "unbalanced braces" error message ?

      This needs to be resolve.

       
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-03-02

    It is the same program as attached to my first post, where I removed the spaces in front of the underscores in lines 521 and 522

     
    • Anobium

      Anobium - 2022-03-02

      Sorry, your program is incorrect.

      Be careful when adding the _ line continuation character right behind an identifier or keyword. It MUST be separated with at least one space character, otherwise it would be treated as part of the identifier or keyword.

      So, you need to add a space before the underscore - do this work as expected ?

       
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-03-02

    OK, this is rational since keywords and variable names can use the underscore ... The only problem remaining is the block structure.

     

    Last edit: Bertrand BAROTH 2022-03-02
  • Frank Steinberg

    Frank Steinberg - 2022-03-02

    The only problem remaining is the block structure.

    Replace ...\SynWrite\lexlib.lxl with the attached one (make a copy before).
    Hope this does not create any new errors - please report.

    Frank

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-03-02

    Now all block structures seem to be displayed without errors. Thank You ... in the name of my model railroad layout !
    :)

     
    • Anobium

      Anobium - 2022-03-02

      Excellent. I have move to the release code.

      Thank you Frank.

       

Log in to post a comment.