Re: [Gambas-user] who to detect if are running inside IDE

2017-07-04 Thread PICCORO McKAY Lenz
so in short investigations i have Public Sub Main() print "running" #If Exec print "in ide" #Endif End so testing by normal steps to compile produce a exec (either a cgi or not) so works for cgi: $ gbc3 -ga $ gba3 $ ./test.gambas running but for other cases i see tha if gambas

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread PICCORO McKAY Lenz
2017-07-03 18:51 GMT-04:00 Jussi Lahtinen : > > Coz it stops at a defined place, not just next time the eventloop runs. > i matters, due depends on their environment and focused target objectives.. seems gambas developers have lack of vision... some users mails and trick sound pretty rare.. but a

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread Jussi Lahtinen
> Coz it stops at a defined place, not just next time the eventloop runs. The eventloop needs to hit menu click for that to happen anyway... also I don't get why that matters. But I guess it's up to your taste. Jussi -

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread bb
On 04/07/17 08:12, Jussi Lahtinen wrote: I don't understand why you need stop menu to your project. Why can't you just use the stop button from the IDE? Jussi Coz it stops at a defined place, not just next time the eventloop runs. b --

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread PICCORO McKAY Lenz
2017-07-03 14:40 GMT-04:00 Tobias Boege : > Exact same question here: https://sourceforge.net/p/ > gambas/mailman/message/34204796/ its does work for scripts, gambas.cgi or normal excecutables? > answer. I still stand by my statement from two years ago: you shouldn't > care > where your program

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread Jussi Lahtinen
I don't understand why you need stop menu to your project. Why can't you just use the stop button from the IDE? Jussi On Mon, Jul 3, 2017 at 11:38 PM, adamn...@gmail.com wrote: > On Mon, 3 Jul 2017 20:40:46 +0200 > Tobias Boege wrote: > > > > I'm convinced that no matter how you try to detect

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread adamn...@gmail.com
On Mon, 3 Jul 2017 20:40:46 +0200 Tobias Boege wrote: > I'm convinced that no matter how you try to detect if you're run by the IDE > or not, someone can create an environment where your test gives the wrong > answer. I still stand by my statement from two years ago: you shouldn't care > where y

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread Tobias Boege
On Mon, 03 Jul 2017, Karl Reinl wrote: > Am Montag, den 03.07.2017, 20:40 +0200 schrieb Tobias Boege: > > On Mon, 03 Jul 2017, PICCORO McKAY Lenz wrote: > > > a piece of code to who to detect if are running inside IDE? any ideas how > > > to? > > > > > > > Exact same question here: > > https://

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread Karl Reinl
Am Montag, den 03.07.2017, 20:40 +0200 schrieb Tobias Boege: > On Mon, 03 Jul 2017, PICCORO McKAY Lenz wrote: > > a piece of code to who to detect if are running inside IDE? any ideas how > > to? > > > > Exact same question here: > https://sourceforge.net/p/gambas/mailman/message/34204796/ >

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread Karl Reinl
Am Montag, den 03.07.2017, 20:40 +0200 schrieb Tobias Boege: > On Mon, 03 Jul 2017, PICCORO McKAY Lenz wrote: > > a piece of code to who to detect if are running inside IDE? any ideas how > > to? > > > > Exact same question here: > https://sourceforge.net/p/gambas/mailman/message/34204796/ > >

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread Tobias Boege
On Mon, 03 Jul 2017, PICCORO McKAY Lenz wrote: > a piece of code to who to detect if are running inside IDE? any ideas how > to? > Exact same question here: https://sourceforge.net/p/gambas/mailman/message/34204796/ If I may add something to the things said in the above thread: you could try t

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread Jussi Lahtinen
I don't know how this reacts to Gambas scripts, but for "normal" projects it works. #If Exec Print "Executable" #Else Print "IDE" #Endif Jussi On Mon, Jul 3, 2017 at 8:23 PM, PICCORO McKAY Lenz wrote: > a piece of code to who to detect if are running inside IDE? any ideas how > to? > > Lenz

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread ML
On 03/07/17 14:23, PICCORO McKAY Lenz wrote: > a piece of code to who to detect if are running inside IDE? any ideas how > to? > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com In the old days of VB6 I tried to print the result of 1/0 to the DEBUG pane. Since output to the debug

[Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread PICCORO McKAY Lenz
a piece of code to who to detect if are running inside IDE? any ideas how to? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -- Check out the vibrant tech community on one of the world's most engaging tech