3 reporttext(), Eport – Teledyne LeCroy SAS_SATA Protocol Suite Verification Script Engine Reference Manual User Manual

Page 60

Advertising
background image


60

15.3 ReportText()

Reports/Displays textual information in the output window of verification script engine.


Format :

ReportText (text)


Parameters

text

string variable or a constant string


Example


ReportText ( "Some text" );

t = "Some text"
ReportText ( t );

num_of_frames = in.NumOfFrames;
text = Format( "Number of frames : %d", num_of_frames );
ReportText ( text );

x = 0xAAAA;
y = 0xBBBB;
text = FormatEx( "x = 0x%04X, y = 0x%04X", x, y );
ReportText( "Text : " + text );


Advertising