[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: in or out IDE



https://gambaswiki.org/wiki/lang/.if

Regards
Denis

On 1/10/26 21:29, valaquarus wrote:
Le jeudi 01 octobre 2026 à 20:32 +1000, Denis Crowther a écrit :
'============================================================================
Public Function IsInIDE() As Boolean
'============================================================================
Dim bReturn As Boolean = False

   #If (Not Exec )
     bReturn = True
   #Endif

   Return bReturn

End



Regards
Denis

On 1/10/26 20:11, valaquarus wrote:
How can you tell if you're launching a program from within the IDE or
outside of it?

--

valaquarus <valaquarus@xxxxxxxxx <mailto:valaquarus@xxxxxxxxx> <mailto:valaquarus@xxxxxxxxx <mailto:valaquarus@xxxxxxxxx>>>


Thank you both of you.
I have one question more, for Denis :
  what means # before the if and the endif, without it it doesn't works.

#If (Not Exec )
bRevision = True
#Endif

--

valaquarus <valaquarus@xxxxxxxxx <mailto:valaquarus@xxxxxxxxx>>


References:
in or out IDEvalaquarus <valaquarus@xxxxxxxxx>
Re: in or out IDEDenis Crowther <denisc@xxxxxxxxxxxxxx>
Re: in or out IDEvalaquarus <valaquarus@xxxxxxxxx>