none
Digits in line with 'else" or 'endif' doesn't matter ??? RRS feed

  • Question

  • I notices by chance that I can write digits in front of Else or Endif and still compile with NO ERRORS !

    Do I mis something here OR what is going on ?

    Tuesday, January 15, 2019 6:32 AM

Answers

  • I notices by chance that I can write digits in front of Else or Endif and still compile with NO ERRORS !

    Hi Ksor2,

    These numbers are interpreted as Line numbers.

    Imb.

    • Marked as answer by Ksor2 Tuesday, January 15, 2019 7:50 AM
    Tuesday, January 15, 2019 7:18 AM

All replies

  • I notices by chance that I can write digits in front of Else or Endif and still compile with NO ERRORS !

    Hi Ksor2,

    These numbers are interpreted as Line numbers.

    Imb.

    • Marked as answer by Ksor2 Tuesday, January 15, 2019 7:50 AM
    Tuesday, January 15, 2019 7:18 AM
  • ???

    You can number the lines by random - the numbers have NO impact on the order of execution of lines !!!!!

    What's the use of it ?

    Maybe a sort of labels or so ...

    Tuesday, January 15, 2019 7:50 AM
  • What's the use of it ?

    Maybe a sort of labels or so ...

    Hi Ksor2,

    Numbered lines can have their function in code management. You can then refer to a specific line of code.

    Personally I never use them, I use other ways for code management.

    Imb.

    Tuesday, January 15, 2019 9:37 AM