Startup message

Richard Gaskin ambassador at
Tue Aug 2 17:23:53 EDT 2011

Slava Paperno wrote:
> On a related note: I have often wished that preOpenStack and openStack were
> not called when I open the stack in the IDE. When the programming is not
> finished, some calls that are already written into those handlers cannot yet
> be successful because other parts are missing. The result is that the first
> thing you see when you open the stack in the IDE is an error.

Check out the environment function.  If running in the IDE, it will 
return "development" so you can write something like:

on preOpenStack
   if "dev" is not in the environment then
   end if
end preOpenStack

  Richard Gaskin
  Fourth World
  LiveCode training and consulting:
  Webzine for LiveCode developers:
  LiveCode Journal blog:

More information about the Use-livecode mailing list