Call a function: Difference between revisions

m
Clarified last point.
(Added COBOL section.)
m (Clarified last point.)
Line 231:
*> functions.
*> However, as functions are called using a string of their PROGRAM-ID,
*> you could pass a 'function' as an argument to another function., or store
*> it in a variable, or get it at runtime.
MOVE "Some-Func" TO Foo
CALL "Use-Func" USING Foo
CALL Foo USING Bar</lang>
 
Anonymous user