` Variable variable size when passed by parameter (Larry Sand ) - 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: Variable variable size when passed by parameter
2013-09-26 -- Larry Sand
 
This procedure won't take the LIKE statement. Although I have used it in other procedures (like classes), or from Browses to forms when I pass a parameter. But this time it won't. Any reason why. Map showNameFromBrowse PROCEDURE(STRING pName) End ------------------------------------------------------------------------- showNameFromBrowse PROCEDURE(STRING pName) lName like(pName) <--- won't work lName &String <--- will work lName String(20) <--- will work too CODE ! some code RETURN ===== However, you can use: lName String(size(pName))


Today is November 21, 2024, 8:13 am
This article has been viewed 35225 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: