` Passing fields and keys as parameters (Jim Katz ) - 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: Passing fields and keys as parameters
1998-03-09 -- Jim Katz
 
Prototype your procedure: MyProc PROCEDURE(*? FldName,*Key MyKey) In MyProc in your data section: PassedField ANY !! << This is important, you must use an ANY type here. PassedKey ?Key In your code in MyProc Code ..... PassedField &= FldName PassedKey &= MyKey Set(PassedKey) or Do FieldPriming Set(PassedKey,PassedKey) You would call MyProc, just by using the field and key labels as declared in your data dictionary.


Today is November 21, 2024, 3:35 am
This article has been viewed 35298 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: