` 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 April 27, 2024, 9:59 pm
This article has been viewed 35117 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: