` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please 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!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Converting string to ASCII using Evaluate
2001-02-06 -- Kurt Pawlikowski
 
Apparently, Evaluate doesn't like variables passed to it directly. This code worked properly: DrawerOpenCode = PassedCode bind('draweropencode',draweropencode) if errorcode() stop('Bind errorcode:' & Errorcode() & ': ' & error()) . x" = evaluate('draweropencode') if errorcode() stop('Evaluate errorcode:' & Errorcode() & ': ' & error()) . message(len(clip(x")) & '=' & clip(x")) message(draweropencode) unbind('draweropencode') ... Note DrawerOpenCode is in single quotes.


Today is May 11, 2024, 1:38 am
This article has been viewed 35117 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: