Announcement

Collapse
No announcement yet.

Comments with () BUG

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Comments with () BUG

    Just share my experience and want eSignal to fix this.

    It spent me 10 hours to discover that

    if a comment line contains (), as in:

    // This will be done in main() routine.

    Then the function parameters defined in preMain will not be displayed. Only when I removed the open and close brackets, did the parameters appear again in the Edit Studies dialog.

  • #2
    Re: Comments with () BUG

    clewon
    FWIW this is documented by eSignal in section 3.1.5 of the Beginner Tutorial 3: Introduction to preMain() and main()
    Alex


    Originally posted by clewon
    Just share my experience and want eSignal to fix this.

    It spent me 10 hours to discover that

    if a comment line contains (), as in:

    // This will be done in main() routine.

    Then the function parameters defined in preMain will not be displayed. Only when I removed the open and close brackets, did the parameters appear again in the Edit Studies dialog.

    Comment


    • #3
      But the bigger question here is:

      Why is eSignal code poking around in a comment section looking for main(...) in the first place? If they're doing it because they use commented areas to embed metadata then they did a very poor job of differentiating their intended main() lookup from a user-entered one as an ordinary documentation note.

      Just because eSignal documented this hack and says "don't do that" doesn't make it right. Some developer made a very poor implementation decision.

      Comment

      Working...
      X