Progress
Programming
Handbook
Examples
This is an external procedure that displays the names of all the customers in the sports database, sorted by name.
NOTE: Any statement or group of statements that you enter in a Procedure Editor buffer become an external procedure when you save or execute the buffer. Also, all the procedure files saved by AppBuilder are external procedures. For information on the Procedure Editor, see the Progress Basic Database Tools (Character only) manual, and in graphical interfaces, the on-line help for the Procedure Editor. For information on the AppBuilder, see the Progress AppBuilder Developer’s Guide.This is an external procedure that returns, as an output parameter, the name of a customer in the sports database when given a customer number as an input parameter. If the specified customer does not exist, the procedure returns the unknown value (?) as the customer name:
This external procedure calls
p-exprc1.p
with a user-specified customer number and displays the resulting customer name in a message. Note thatp-exprc2.p
is a top-level, application-driven procedure:
For more information on the application- and event-driven models, the two basic techniques for writing Progress applications, see Programming Models."
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |