Re: [Gambas-user] Select Case problem

2013-03-28 Thread Bruce
On Thu, 2013-03-28 at 11:11 +0100, Tobias Boege wrote: > > > > > > > > > > Case "BACKIMAGE[[]*]" > > > Case "BACKIMAGE[[]*][[]*]" > > > > > > Is that what you want? > > > > > > Escaping '[' character in regular expression is done by using "[[]" or > > > "\\[". (see the documentation of LIKE). >

Re: [Gambas-user] Issue 415 in gambas: Cannot run child process (native code)

2013-03-28 Thread gambas
Updates: Status: Started Comment #16 on issue 415 by benoit.m...@gmail.com: Cannot run child process (native code) http://code.google.com/p/gambas/issues/detail?id=415 In revision #5598, when dealing with the EXEC instruction, I now check that the executable file exists before forking

[Gambas-user] IconPanel: adding and destroying a Tab

2013-03-28 Thread Ru Vuott
Hello, no way to add or to destroy a Tab (but NOT at the end with .Count property) in the *middle* of IconPanel array ? Regards vuott -- Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel

Re: [Gambas-user] Issue 415 in gambas: Cannot run child process (native code)

2013-03-28 Thread gambas
Comment #15 on issue 415 by r...@cyberjunky.nl: Cannot run child process (native code) http://code.google.com/p/gambas/issues/detail?id=415 Or am I looking at the wrong error? -- You received this message because this project is configured to send all issue notifications to this address. Yo

Re: [Gambas-user] Issue 415 in gambas: Cannot run child process (native code)

2013-03-28 Thread gambas
Comment #14 on issue 415 by r...@cyberjunky.nl: Cannot run child process (native code) http://code.google.com/p/gambas/issues/detail?id=415 Correct it doesn't exist anymore. Normally (in the old days) this just raises the correct error. But it now triggers a bug. See attached project. Attach

Re: [Gambas-user] Issue 415 in gambas: Cannot run child process (native code)

2013-03-28 Thread gambas
Comment #13 on issue 415 by benoit.m...@gmail.com: Cannot run child process (native code) http://code.google.com/p/gambas/issues/detail?id=415 if errno = 2 is "No such file or directory", that shoould means "/usr/bin/notify-send" does not exist. Can you check that? -- You received this mess

Re: [Gambas-user] Issue 415 in gambas: Cannot run child process (native code)

2013-03-28 Thread gambas
Comment #12 on issue 415 by benoit.m...@gmail.com: Cannot run child process (native code) http://code.google.com/p/gambas/issues/detail?id=415 if errno = 2 is "No such file or directory", that shoould means "/usr/bin/notify-send" does not exist. Can you check that? -- You received this mess

Re: [Gambas-user] Issue 415 in gambas: Cannot run child process (native code)

2013-03-28 Thread gambas
Comment #11 on issue 415 by r...@cyberjunky.nl: Cannot run child process (native code) http://code.google.com/p/gambas/issues/detail?id=415 Bingo! Maybe it has to do with the missing quotes around the text, or it's random, don't know yet, nothing has changed in my code. Process_free 0xde0ee8

Re: [Gambas-user] Issue 415 in gambas: Cannot run child process (native code)

2013-03-28 Thread gambas
Comment #10 on issue 415 by r...@cyberjunky.nl: Cannot run child process (native code) http://code.google.com/p/gambas/issues/detail?id=415 I enabled DEBUG_ME in gbx_c_process.c and I'm waiting for it to fail.. -- You received this message because this project is configured to send all issu

Re: [Gambas-user] Issue 415 in gambas: Cannot run child process (native code)

2013-03-28 Thread gambas
Comment #9 on issue 415 by r...@cyberjunky.nl: Cannot run child process (native code) http://code.google.com/p/gambas/issues/detail?id=415 I enabled these in gbx_exec.c and started again #define DEBUG_STACK 1 #define SHOW_FUNCTION 1 I got these as last entries... does is reveal anything more?

Re: [Gambas-user] Issue 415 in gambas: Cannot run child process (native code)

2013-03-28 Thread gambas
Comment #8 on issue 415 by benoit.m...@gmail.com: Cannot run child process (native code) http://code.google.com/p/gambas/issues/detail?id=415 Normally, this error is the consequence of the last EXEC or SHELL instruction. Can you print each EXEC/SHELL arguments each time you call it? If it i

Re: [Gambas-user] Issue 415 in gambas: Cannot run child process (native code)

2013-03-28 Thread gambas
Comment #7 on issue 415 by r...@cyberjunky.nl: Cannot run child process (native code) http://code.google.com/p/gambas/issues/detail?id=415 What can I do to get more info about which part of Gambas triggers this? Is it the Exec/Shell command or something else? Then I can try to strip down the c

Re: [Gambas-user] Select Case problem

2013-03-28 Thread Tobias Boege
On Thu, 28 Mar 2013, Tobias Boege wrote: > On Thu, 28 Mar 2013, Beno?t Minisini wrote: > > Le 28/03/2013 07:47, Bruce a ?crit : > > > On Thu, 2013-03-28 at 17:05 +1030, Bruce wrote: > > >> Hi, > > >> > > >> I am trying to parse a text file that contains key,value pairs like: > > >> Name=Ma

Re: [Gambas-user] Select Case problem

2013-03-28 Thread Tobias Boege
On Thu, 28 Mar 2013, Beno?t Minisini wrote: > Le 28/03/2013 07:47, Bruce a ?crit : > > On Thu, 2013-03-28 at 17:05 +1030, Bruce wrote: > >> Hi, > >> > >> I am trying to parse a text file that contains key,value pairs like: > >> Name=Malarky > >> Size=10 > >> BackImage[N]=

Re: [Gambas-user] Select Case problem

2013-03-28 Thread Benoît Minisini
Le 28/03/2013 07:47, Bruce a écrit : > On Thu, 2013-03-28 at 17:05 +1030, Bruce wrote: >> Hi, >> >> I am trying to parse a text file that contains key,value pairs like: >> Name=Malarky >> Size=10 >> BackImage[N]=sometext >> FrontImage[S]=sometext >> etc

Re: [Gambas-user] Select Case problem

2013-03-28 Thread Tobias Boege
On Thu, 28 Mar 2013, Tobias Boege wrote: > On Thu, 28 Mar 2013, Bruce wrote: > > On Thu, 2013-03-28 at 17:05 +1030, Bruce wrote: > > > Hi, > > > > > > I am trying to parse a text file that contains key,value pairs like: > > > Name=Malarky > > > Size=10 > > > BackImage[N]=so

Re: [Gambas-user] Select Case problem

2013-03-28 Thread Tobias Boege
On Thu, 28 Mar 2013, Bruce wrote: > On Thu, 2013-03-28 at 17:05 +1030, Bruce wrote: > > Hi, > > > > I am trying to parse a text file that contains key,value pairs like: > > Name=Malarky > > Size=10 > > BackImage[N]=sometext > > FrontImage[S]=sometext > > etc

Re: [Gambas-user] Select Case problem

2013-03-28 Thread Bruce
On Thu, 2013-03-28 at 17:05 +1030, Bruce wrote: > Hi, > > I am trying to parse a text file that contains key,value pairs like: > Name=Malarky > Size=10 > BackImage[N]=sometext > FrontImage[S]=sometext > etc > using a construct like > For idx = 0 to s