Progress
Version 9
Product Update Bulletin
Example 3 — Using a CALL Object Multiple Times
Example, p-diexm3.p further demonstrates using a CALL object multiple times by doing the following:
- Dynamically invoking the procedure file
hello.p
with a CHARACTER input parameter, the string "HELLO WORLD"- Dynamically invoking the external procedure
persis.p
persistently- Dynamically invoking an internal procedure of
persis.p
, internal-persis-proc, with an input parameter of type INTEGER with the value 333
Example p-diexm3.p resets the CALL object handle by using the CLEAR() method between invoking
hello.p
(the first invoke) and invokingpersis.p
(the second invoke).
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |