beautypg.com

3 getuserdlglimit(), Imit – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual

Page 106

background image

Teledyne LeCroy

Verification Script Engine Reference Manual




Page 106 of 115



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