Page 1 of 1

Development mode

Posted: Fri May 08, 2015 11:09 pm
by matthellstrom
I thought I saw this somewhere, but I can't find it for the life of me.

Is there a way to just do something in development mode, for instance open a results window, which when you build the standalone version it doesn't open? I thought I saw something like

if development then
...
end if

but I can't find it anywhere.

Re: Development mode

Posted: Fri May 08, 2015 11:33 pm
by dave.kilroy
Try this:

Code: Select all

if the environment = "development" then 
  --do stuff
else
  --do other stuff
end if

Re: Development mode

Posted: Mon May 11, 2015 8:01 pm
by matthellstrom
OK, that seems to work great. Thanks!