LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  How can I comment multiple Lines?

    Employee
    Posted 02-24-2010 02:38

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mgajdosik

    I know that "#" is used to comment one line, but how could I comment multiple lines?


  • 2.  RE: How can I comment multiple Lines?

    Employee
    Posted 02-24-2010 08:06

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: timonk

    Good Day

    Unfortunately, there is not at this time a way to comment multiple lines via some open-close syntax. You need to comment each line individually.

    I will check to see if there is an enhancement request for such commenting, and if there is none I will add one in.

    Regards
    Timon Koufopoulos,
    MDA Support.


  • 3.  RE: How can I comment multiple Lines?

    Employee
    Posted 02-24-2010 10:01

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ltolleson

    There is a quick way to comment a block of code using the single line "#" comment.

    1) Click the Script parameter button to the left of the BrainScript edit box. This will open the code in a built-in editor.

    2) Highlight the code to comment.

    3) Select Edit/Block Comment from the menu.

    4) When you Exit the editor you must click save.