How to detect if the code is running on the IDE [SOLVED]
Posted
#1
(In Topic #1008)
Regular

Posted
Regular

Sapere se il programma Gambas sta funzionando come progetto dall'IDE oppure come eseguibile .gambas - Gambas-it.org - Wikipedia
Europaeus sum !
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
Posted
Regular

Posted
Guru

Check this out…
/lang/.if - Gambas Documentation
Exec is set to true for a compiled exe but not when debugging in IDE
So just have something like this in your startup class…
With this method if your exe or the link to it has been renamed to not have the .gambas extension it will still work as expected.
Posted
Regular

1 guest and 0 members have just viewed this.


