[Squeakland] Displaying a calculation in a text box

Andreas Raab andreas.raab at squeakland.org
Wed Feb 18 17:36:40 PST 2004


Hi Phil,

The easiest way to do this is to make a ticking script which computes the
computed value and then have a readout for this value. For example:

<ticking>
    foo's result <- foo's length * foo's width

and then the "result" readout will show the resulting value.

Cheers,
  - Andreas

----- Original Message ----- 
From: "Phil Firsenbaum" <tacmanphil at mac.com>
To: <squeakland at squeakland.org>
Sent: Wednesday, February 18, 2004 4:47 PM
Subject: [Squeakland] Displaying a calculation in a text box


> I'm working on a project which will generate the area of a given geometric
figure. There are a number of approaches I'm considering, however, I'm stuck
when it comes to displaying a given calculation. For example, if I use
variables for length and width, I want to be able to display the results of
lengthXwidth.
> Thanks,
> Phil
> _______________________________________________
> Squeakland mailing list
> Squeakland at squeakland.org
> http://squeakland.org/mailman/listinfo/squeakland
>



More information about the Squeakland mailing list