At 3:08 PM +1000 on 12/12/99, Paul Sutton wrote:

>Okay, well I have created one stack which allows a very simple
>presentation to be created easily and this is achieved by adding buttons
>for different functions etc, which then write pure HyperTalk into a field
>(so that it can be easily viewed and manually edited if desired), then
>when the presentation is to be run, I simply "do" each line of the field.
> Simple.  Also, it has some advanced features like combining two sources
>for a command and doing that.  ie: do line 1 of cd fld 1 && cd fld
>"parameters"  These parameters are changed dynamically throughout the
>presentation.

Finally! A real use of the 'do' command.


>Um, this is a new thought for me here.  Why couldn't we implement do in
>FreeScript?  What you'd need to do is have a place for these temp scripts
>it could be a card button but would be better if it was somewhere that is
>more out of the way.  Then add a do handler to the home stack similar to:

I don't mind that type of do, either. I do mind when the 'do' shares local
variables with the do'er (as you point out below).

>Oh, no local variables.  Still, there as a backup if Anthony decides
>against "do".  Please don't make us resort to this!

I think I've already decided for it. However, I can (nearly) guarantee you
that if I write a real compiler for it -- or if anyone else does -- it
won't include 'do'.

Reply via email to