Thanks guys! I knew there had to be a way and didn't want to spend time reinventing the wheel.

Phil


Trevor DeVore wrote:
On Jun 10, 2009, at 4:27 PM, Phil Davis wrote:

Has anyone already developed a code snippet that does this?

I help maintain some software whose users can sometimes generate an error by entering malformed data in a given field (e.g. non-numeric data where math is done after data is moved into temp variables). What I'm looking for is some code that displays the contents of the variables containing malformed data. However, the error handling code is in a libraried stack so I assume I can't just "get the variableNames" from there and work with those, since the error occurred in the script of a different stack.

You could use the debugContext to get the variable value. This lesson shows how to set "it" in another context. You could probably figure out how to do it by looking at the example.

Write A Command That Sets 'the result' And 'it': <http://revolution.screenstepslive.com/spaces/revolution/buckets/tutorials/lessons/923>

Regards,


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to