Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual
Page 9

Verification Script Engine Reference Manual
4
######################################################################################
# OnFinishScript() #
######################################################################################
#
######################################################################################
# It is a main script function called by the application when the script completed #
# running. Specify in this function some resetting procedures for a successive run #
# of this script. #
# #
# OPTIONAL. #
######################################################################################
OnFinishScript()
{
return 0;
}
######################################################################################
######################################################################################
# Additional script functions. #
######################################################################################
# #
# Write your own script-specific functions here... #
# #
######################################################################################
MyFunction( arg )
{
if( arg == “Blah” ) return 1;
return 0;
}