Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Uživatelský manuál Strana 78

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 97
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 77
78
20.3 GetUserDlgLimit()
This function returns the current limit of user dialogs (message box or input box) 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.
20.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 pop up, and script will continue with its next instruction
statement. 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.
Zobrazit stránku 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 96 97

Komentáře k této Příručce

Žádné komentáře