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....

on savenotes
   modeless stack "save" -- opens a new stack "save" as a modeless window
   save this stack  -- saves "this" stack. Which stack is "this" (save or
notepad)?
   wait 360 millisecs
   close stack "save"
end savenotes

I suddenly realized that I was using the "save this stack" command with 2
stacks open, the primary stack called "notepad" and a secondary stack called
"save".

It appears that rev knows "which is which" even thought from the code it is
quite confusing. Would it be better to say "save stack notepad" instead?

Thanks

-- Mark

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/what-s-this-stack-tp3042392p3042392.html
Sent from the Revolution - User mailing list archive at Nabble.com.
_______________________________________________
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