[squeakland] How can I evaluate an Expression in Text

Steve Thomas sthomas1 at gosargon.com
Wed Mar 30 17:06:43 EDT 2011


So if I have a Text Object with the "characters" value: (5 + 2) / 2
How can I set the numeric value of another text object (or any variable of
Type Number) to the "evaluated" value?

Ie: how can I set the value to the equivalent of <CMD-P>?
Also how can I specify the format as either "7/2" or 3.5?

Thanks,
Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakland.org/pipermail/squeakland/attachments/20110330/42ec1eeb/attachment.html>


More information about the squeakland mailing list