Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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 23, 2024, 2:09 am This article has been viewed 35227 times.
|
|