Extracting a reference to a stack

Mark Wieder mwieder at ahsoftware.net
Sat Aug 8 13:14:34 EDT 2015

On 08/08/2015 07:45 AM, David Bovill wrote:
> There was a recent feature added to the language that would help - maybe it
> was something to do with the owner....

I LC7 you can now set whole words as delimiters.
So (off the top of my head)

set the itemDelimiter to "stack"
get item -1 of the long id of control <object>

But note that this will return the mainstack.
If substacks enter into the picture it gets more complicated.

get item 1 of the long id of control <object>

might do the job.

  Mark Wieder
  ahsoftware at gmail.com

More information about the Use-livecode mailing list