Extracting a reference to a stack

Richard Gaskin ambassador at fourthworld.com
Sat Aug 8 18:51:37 EDT 2015


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




More information about the use-livecode mailing list