Extracting a reference to a stack

Richard Gaskin ambassador at fourthworld.com
Sun Aug 9 00:51:37 CEST 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