How to detect running in FB comand line version

I would like to detect wether my script is running in the FB IDE, or in the command line version (I want to pop up a dialog if running in the IDE). Is there a built-in "environment variable" for this?

Hi

To do this you can use the ‘ISCONSOLEBUILD’ variable (available under Application variables).

Regards,
Steve