4 setuserdlglimit(), Imit – Teledyne LeCroy Verification Script Engine for Teledyne LeCroy PETracer Reference Manual User Manual

Page 80

Advertising
background image

Teledyne LeCroy

Verification Script Engine Reference Manual

Version 6.6x

75

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 are shown and script does 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


Advertising