The text editor allows you simply to comment and uncomment blocks of source code or test script. The same principle also applies to declaring native C code in a C test script by prefixing each with a dash (#) character.
To comment a block of source code
In the text editor, select a block of code.
Click the Comment (-- or // depending on the language) button in the toolbar.
To uncomment a block of commented source code
In the text editor, select a block of commented code.
Click the Uncomment (-- or // depending on the language) button in the toolbar.
To declare native code in a .ptu test script
In the .ptu test script, select a block of native C code.
Click the Native # button in the toolbar.
Related Topics