PRINT instruction

System Testing for C

You can print the result of an expression in a performance report by using the PRINT statement. The PRINT instruction prints an identifier before the expression.

Example

HEADER "Socket validation", "1.0", "beta"

#long globalTime = 45;

SCENARIO first

PRINT timeValue, globalTime

END SCENARIO

SCENARIO second

SCENARIO level2

PRINT time2Value, globalTime*10+5

...

END SCENARIO

END SCENARIO

Related Topics

TIME InstructionTIMER InstructionRESET InstructionPAUSE Instruction