You can embed single-line comments in all 4Test files: Any characters following // in a line are considered comments.
4Test ignores comments when compiling, with the exception of functions and test cases. Comments within functions and test cases must be within the scope of the function or test case. If a comment is outdented beyond the scope of the function or test case, the compiler assumes that the function or test case has ended. As long as comments do not violate the function or test case scope, they can be placed anywhere on a line.
We recommend that you keep comments within scope.
// iSeed is a random number generation seed INTEGER iSeed = 10 RandSeed (iSeed) Print (RandInt (0, 100)) // prints: 75 Print (RandInt (0, 100)) // prints: 79 Print (RandInt (0, 100)) // prints: 3