Extracting a reference to a stack

Bob Sneidar bobsneidar at iotecdigital.com
Fri Aug 14 12:40:16 EDT 2015


I do the same thing, except mine isn't a one liner. (Show off!)

Bob S


> On Aug 8, 2015, at 15:51 , Richard Gaskin <ambassador at fourthworld.com> wrote:
> 
> dunbarx wrote:
> 
>> Wait just a doggone minute. The long id of a control contains the stack reference.
> 
> Yep - and being a lazy person this is how I get the stack reference:
> 
> function ObjectStack pObj
>   return char (offset(" of stack ", pObj)+4) to -1 of pObj
> end ObjectStack
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com                http://www.FourthWorld.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list