Re: [Gambas-user] R: know if program is compiled

2015-06-14 Thread Marco Ancillotti
Il 14/06/2015 14:22, Ru Vuott ha scritto: > ...and this ? > > Public Sub Main() > > If File.Load("/proc" &/ CStr(Application.Id) &/ "cmdline") Like "*.gambas*" > Then >Print "Running compiled into a .gambas file" > Else >Print "Running under the IDE" > Endif > > End > if U add a simple ";

[Gambas-user] R: know if program is compiled

2015-06-14 Thread Ru Vuott
...and this ? Public Sub Main() If File.Load("/proc" &/ CStr(Application.Id) &/ "cmdline") Like "*.gambas*" Then Print "Running compiled into a .gambas file" Else Print "Running under the IDE" Endif End regards vuott Dom 14/6/15, Marco Anci