Global Names sans Rev Globals?

Shao Sean shaosean at
Tue Jan 22 00:58:01 EST 2002

try this function:

function getGlobalNames
  local vTempGlobals, vTempSortedGlobals, vGlobalItem
  put the globalNames into vTempGlobals
  repeat for each item vGlobalItem in vTempGlobals
    if ((char 1 of vGlobalItem = "$") or (char 1 to 3 of vGlobalItem =
"rev")) then
      next repeat
      put vGlobalItem & comma after vTempSortedGlobals
    end if
  end repeat
  if (last char of vTempSortedGlobals = comma) then
    delete last char of vTempSortedGlobals
  end if
  return vTempSortedGlobals
end getGlobalNames

----- Original Message -----
> when in development you query the message box
> put the globalNames
> it returns All of revs globals... how can we contrain this to return only
> the globals of the stack we are creating/working on?

More information about the Use-livecode mailing list