On 2016-03-03 19:48, Richard Gaskin wrote:
I have a routine that includes:

  set the defaultStack to tValidStackName
  revert

...and instead of reverting the specified stack it reverts the topmost
toplevel stack.

Why?

Because that is the way it has always been...

I suspect the reasoning was that the topStack can be considered the top-most document stack, and you'd probably expect 'revert' in isolation to act on 'document' stacks.

The best thing here would be to add a variant:

   revert <stack>

So that its operation is entirely clear. Filed as enhancement http://quality.livecode.com/show_bug.cgi?id=17061

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to