Try OpenEdge Now
skip to main content
Developing WebSpeed Applications
SpeedScript : Elements of SpeedScript syntax : Running procedures and Web objects
 

Running procedures and Web objects

The statement that executes a procedure in SpeedScript is the RUN statement. This statement has several forms, depending on the application. The most basic executes a procedure by name. If the named procedure is defined internally to the executing procedure file (or Web object), SpeedScript executes that internal procedure. Otherwise, it looks for an external procedure file to execute.
Note: In SpeedScript, an external procedure file is any legal set of SpeedScript statements in a file. The PROCEDURE keyword is needed only to define internal procedures.
You can also pass parameters to procedures that define them using DEFINE PARAMETER statements. For complete information on the options available for the RUN statement, see OpenEdge Development: ABL Reference.
* Persistent procedures
* WebSpeed calling conventions