what's "this" stack

Robert Brenstein rjb at robelko.com
Mon Nov 15 05:16:27 EST 2010


On 14.11.10 at 17:35 -0800 Mark Smith apparently wrote:
>Hi, I recently wrote this code which works fine....
>
>on savenotes
>    modeless stack "save"
>    save this stack
>    wait 360 millisecs
>    close stack "save"
>end savenotes
>
>when i went back to document it I stumbled across a sort of confusion in my
>understand....
>

change your code as follows to resolve this for yourself ;-)

on savenotes
    modeless stack "save"
    answer "Saving" && (the short name of this stack) -- just to know
    save this stack
    wait 360 millisecs
    close stack "save"
end savenotes

Robert



More information about the use-livecode mailing list