Page 261 - Make Your Own PCBs with EAGLE from Schematic Designs to Finished Boards
P. 261
These are the same as C. You have access to the usual control structure commands such as “if”,
“while”, “for”, “break”, etc.
Special Constants
A number of EAGLE specific constants are defined for the ULP.
Dialog Functions
The ULP language includes a number of built-in dialog types that you can use in your programs.
• dlgDirectory—Prompts for a directory from the file system and returns the path
• dlgFileOpen—Prompts for a file to open and returns the file path
• dlgMessageBox—Displays a message to the user
See the online help for the full syntax for these commands.
Other Built-in Functions
There are many other built-in functions available in the ULP language, for tasks such as reading and
writing files, performing HTTP requests, and even manipulating XML. See the online documentation
for these functions in the built-in help system.

