
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
2
2 Script Language Structure
2.1 Generation Script Structure
Typically, a generation script has the following structure:
• Parser directives
• Declarations
o Constants
o Data patterns
o Global generation settings
o Frame/structure templates
o Global numeric variables
o Global structure variables (declare a template for a variable before declaring a variable)
• Generation procedures
o List of generation instructions
Note: The parser can use previously declared objects in later declarations. In generation
procedures, the parser can use objects assigned before their declaration.
Reminder: The generation parser is NOT case-sensitive.
2.2 Main Procedure and Other Procedures
Although you can create many generation procedures, the major execution entry point is a
procedure with the name Main. Therefore, you must have a generation procedure named Main.
You can invoke the other generation procedures in the Main generation procedure using the
Call directive.
The Call directive makes a "dynamic" insertion, in which the included procedure is re-parsed
using the new parser variable values and the latest values of global variables.
Comentarios a estos manuales