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

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

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

Re: [Gambas-user] System.Language (gb)

2017-07-03 Thread Tobias Boege
On Tue, 04 Jul 2017, bb wrote: > On 04/07/17 07:13, Tobias Boege wrote: > > On Tue, 04 Jul 2017, bb wrote: > > > >Static Property Language As String > > > > > > > >Returns or sets the current language setting. > > > > > > > >But which one? LANG? LC_ALL? LANGUAGE? ... > > > > > > According to

Re: [Gambas-user] System.Language (gb)

2017-07-03 Thread bb
On 04/07/17 07:13, Tobias Boege wrote: On Tue, 04 Jul 2017, bb wrote: >Static Property Language As String > >Returns or sets the current language setting. > >But which one? LANG? LC_ALL? LANGUAGE? ... > According to source code it returns: 1. LC_ALL if that's non-empty, next 2. LANG if

Re: [Gambas-user] System.Language (gb)

2017-07-03 Thread Tobias Boege
On Tue, 04 Jul 2017, bb wrote: > Static Property Language As String > > Returns or sets the current language setting. > > But which one? LANG? LC_ALL? LANGUAGE? ... > According to source code it returns: 1. LC_ALL if that's non-empty, next 2. LANG if that's non-empty, or otherwise 3.

[Gambas-user] System.Language (gb)

2017-07-03 Thread bb
Static Property Language As String Returns or sets the current language setting. But which one? LANG? LC_ALL? LANGUAGE? ... My problem is that most of my ENV localisations are set to "en_AU.UTF-8", the UTF-8 bit is supposed to be ignored but it isn't somewhere and so the translation doesn't

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

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: > >

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

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

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