beautypg.com

Setuserdlglimit(), Imit, 4 setuserdlglimit() – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual

Page 87

background image

LeCroy Corporation

Verification Script Engine Manual, version 2.2





21.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 the 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.

Page 87 of 95