beautypg.com

3 comments, 1 line comment, 2 block comment – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 13: Comments, Line comment, Block comment, Block_c, Line_c, 3comments

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

4

3

Comments

Comments instruct the script parser to exclude the commented parts of the script file from
parsing.

3.1 Line Comment

To comment a line, start the line with the symbol

#

.

To comment the end of a line, put the symbol

#

before the comment. The parser ignores the rest

of the line after the

#

symbol.

Example

SomeStuff

# The text after the # symbol is not parsed.

3.2 Block Comment

To comment a block of text, start with the symbol pair

/*

and end with the symbol pair

*/

. The

parser ignores the part of the file inside the comment block.

Example

/*
Example of a block of comments
All text between '/' '*' and '*' '/' is ignored.
*/