Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Local Procedure in a class 2010-12-07 -- John Dunn Yes, you can declare local procedures in a class method. For example:
cMyClass.SomeMethod PROCEDURE()
MAP
LocalProcedure PROCEDURE(BYTE pbParam1, STRING psParam2),BYTE
END ! map
bParam1 BYTE
sParam2 STRING(10)
...
CODE
....
bErrorLevel = LocalProcedure(bParam1,sParam2)
....
!----------------------------------------------------------!
LocalProcedure PROCEDURE(BYTE pbParam1, STRING psParam2) !! ,BYTE
bProcErrorLevel BYTE
CODE
... local procedure code....
RETURN bProcErrorLevel
Today is November 21, 2024, 7:58 am This article has been viewed 35223 times.
|
|