` Local Procedure in a class (John Dunn ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

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, 3:54 am
This article has been viewed 35222 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: