beautypg.com

Getuserdlglimit(), Setuserdlglimit(), Imit – Teledyne LeCroy SATracer 3G Verification Script Engine manual User Manual

Page 62: 3 getuserdlglimit(), 4 setuserdlglimit()

background image

LeCroy Corporation

Verification Script Engine Reference Manual

Version 1.01

19.3 GetUserDlgLimit()

This function returns the current limit of user dialogs allowed in the verification script. If the

script reaches this limit, no user dialogs will be shown and the script will not stop. By default this limit
is set to 20.


Format :

GetUserDlgLimit()



Example:

result = MsgBox( Format( "UserDlgLimit = %d", GetUserDlgLimit() ),

_MB_OKCANCEL | _MB_EXCLAMATION, "Some Title !!!" );

SetUserDlgLimit( 2 ); # set the limit to 2



19.4 SetUserDlgLimit()

This function sets the current limit of user dialogs allowed in the verification script. If the script

reaches this limit, no user dialogs will be shown and script will not stop. By default this limit is set to
20.


Format :

SetUserDlgLimit()




Example:

result = MsgBox( Format( "UserDlgLimit = %d", GetUserDlgLimit() ),

_MB_OKCANCEL | _MB_EXCLAMATION, "Some Title !!!" );

SetUserDlgLimit( 2 ); # set the limit to 2

57