Teledyne-lecroy UWBTrainer Exerciser Script Language Instrukcja Użytkownika Strona 106

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 124
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 105
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
98
10.19.2 Calling a Generation Procedure with No Parameters
You can "call" a generation procedure and omit some of its parameters, because procedure
parameters have default values.
Example
Block2( SOME_PKT_TEMPLATE $pkt_param, x, y )
{
# Send a frame based on the structure variable parameter 'pkt_param'.
Send pkt_param
{
Field0 = x + y
}
}
Generation
{
# Call the procedure 'Block2' with No parameters.
# In this case, use the default values for procedure parameters.
# Note: '(' ')' is mandatory after the procedure's name.
Call Block2()
}
Przeglądanie stron 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 123 124

Komentarze do niniejszej Instrukcji

Brak uwag