Re: [Gambas-user] Issue 211 in gambas: Gridview multiselect

2012-03-02 Thread charlesg
Gridview multiselect ver 4522, lubuntu 11.10 32bit 1) Now works consistently GTK/QT. 2) ctrl-click adds correctly. click new line removes previous selection. All OK 3) select line then shift-click another does not add block on either gtk/qt thanks gambas-4 wrote: Updates: Status:

Re: [Gambas-user] Issue 217 in gambas: Reducing the number of panels in a toolpanel crashes the IDE

2012-03-02 Thread gambas
Comment #3 on issue 217 by adamn...@gmail.com: Reducing the number of panels in a toolpanel crashes the IDE http://code.google.com/p/gambas/issues/detail?id=217 Sorry Benoit, at rev 4522 this still happens. All I get is : [bb@bluecow gambas3]$ ./gambas3.gambas gb.qt4: warning: unable to load

Re: [Gambas-user] Possible suggestion/question

2012-03-02 Thread M. Cs.
I red somewhere that GOTO is something that a good programer should avoid at all costs. GOTO is a host of countless bug possibilities. 2012/3/2, John Spikowski supp...@scriptbasic.org: On Fri, 2012-03-02 at 03:31 +0100, Benoît Minisini wrote: Anyway, there is a syntax problem. In Basic, GOSUB

Re: [Gambas-user] Possible suggestion/question

2012-03-02 Thread Emil Lenngren
GOTO is not evil, but can, if you do it wrong, result in code that might be hard to read. For example, in C you can do like this: if (a){ goto a_label; } else { if (b){ switch(c){ case 1: puts(Hello); break; case 2: puts(Yo); break; a_label: puts(Tjena); break;

Re: [Gambas-user] DataSource DataBrowser problem

2012-03-02 Thread John Rose
Benoit, I have attached a Test project to this message. Sometimes I still get the display of a popup stating Cannot modify record: SQL error or missing database. As I said previously, there are now new problems: When the DataBrowser control is initialised, the left hand side of it points to

[Gambas-user] Issue 218 in gambas: Escaping from a Try

2012-03-02 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 218 by emil.len...@gmail.com: Escaping from a Try http://code.google.com/p/gambas/issues/detail?id=218 1) Describe the problem. The compiler does not complain when you try

Re: [Gambas-user] Issue 218 in gambas: Escaping from a Try

2012-03-02 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 218 by benoit.m...@gmail.com: Escaping from a Try http://code.google.com/p/gambas/issues/detail?id=218 Yep. I'm not sure that this is a good idea to allow Try on all control flow instructions! The

Re: [Gambas-user] Issue 213 in gambas: The packager includes versioning systems hidden folders into results

2012-03-02 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 213 by benoit.m...@gmail.com: The packager includes versioning systems hidden folders into results http://code.google.com/p/gambas/issues/detail?id=213 I know only svn. It would be cool to know what

Re: [Gambas-user] Issue 218 in gambas: Escaping from a Try

2012-03-02 Thread gambas
Comment #2 on issue 218 by emil.len...@gmail.com: Escaping from a Try http://code.google.com/p/gambas/issues/detail?id=218 Exactly :) -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes

Re: [Gambas-user] Gambas runtime

2012-03-02 Thread Willy Raets
gbx is the interpreter. Is it always the same as the runtime version? If so, it will do the trick. I need it for some trouble in a distributed application only occuring when certain runtime seems to be a to low version. So the problem is not in my app, they just need a more recent runtime version

Re: [Gambas-user] Gambas runtime

2012-03-02 Thread Willy Raets
Checking the way the runtime package is built I can safely presume that gbx2 or gbx3 version is runtime version as the whole package is about gbx :-) Thanks for getting me into the right direction.. Willy On vr, 2012-03-02 at 19:41 +0100, Willy Raets wrote: gbx is the interpreter. Is it

Re: [Gambas-user] Possible suggestion/question

2012-03-02 Thread Jussi Lahtinen
I made quick effort to try to simulate gosub with goto, and noticed that jumping back inside loops is not possible (as the documentation says...). I understand that when it's For ... Next, but shouldn't that be possible with Do ... Loop Until x? Anyway, I'm not sure my simulation does accurately

Re: [Gambas-user] Possible suggestion/question

2012-03-02 Thread Emil Lenngren
You can always hack the compiler/bytecode to be able to have gotos wherever you want, but I think Gotos is not allowed to jump into control structures because it is classed as bad code structure. For ... Next also use hidden local variables to store things. But I think gosubs can be implemented

Re: [Gambas-user] Issue 213 in gambas: The packager includes versioning systems hidden folders into results

2012-03-02 Thread gambas
Comment #2 on issue 213 by sebi...@gmail.com: The packager includes versioning systems hidden folders into results http://code.google.com/p/gambas/issues/detail?id=213 I think that the best thing to do is create a blacklist of files to be excluded from the gambas binary. We can the populate

Re: [Gambas-user] Issue 213 in gambas: The packager includes versioning systems hidden folders into results

2012-03-02 Thread gambas
Comment #3 on issue 213 by sebi...@gmail.com: The packager includes versioning systems hidden folders into results http://code.google.com/p/gambas/issues/detail?id=213 Bazaar: ./.bzr ./.bzrignore Mercurial: ./.hg ./.hgignore ./.hgtags ./hgrc Git: ./.git ./.gitignore

Re: [Gambas-user] Issue 212 in gambas: Gambas3 is generating packages with dependencies gambas2

2012-03-02 Thread gambas
Comment #2 on issue 212 by benoit.m...@gmail.com: Gambas3 is generating packages with dependencies gambas2 http://code.google.com/p/gambas/issues/detail?id=212 Sorry I don't understand at all what you mean. Can you try to make better sentences?

Re: [Gambas-user] Issue 218 in gambas: Escaping from a Try

2012-03-02 Thread gambas
Updates: Status: Fixed Comment #3 on issue 218 by benoit.m...@gmail.com: Escaping from a Try http://code.google.com/p/gambas/issues/detail?id=218 Fixed in revision #4523. Now you cannot use TRY with GOTO, BREAK, CONTINUE or STOP.

Re: [Gambas-user] Possible suggestion/question

2012-03-02 Thread Benoît Minisini
Le 02/03/2012 20:03, Jussi Lahtinen a écrit : I made quick effort to try to simulate gosub with goto, and noticed that jumping back inside loops is not possible (as the documentation says...). I understand that when it's For ... Next, but shouldn't that be possible with Do ... Loop Until x?

Re: [Gambas-user] Issue 211 in gambas: Gridview multiselect

2012-03-02 Thread gambas
Comment #2 on issue 211 by albefo...@tiscali.it: Gridview multiselect http://code.google.com/p/gambas/issues/detail?id=211 Ok, with the latest svn version this is ok, but the properties title do not exist anymore... :-( but there are no problem for this!

Re: [Gambas-user] Issue 211 in gambas: Gridview multiselect

2012-03-02 Thread gambas
Updates: Status: Fixed Comment #3 on issue 211 by benoit.m...@gmail.com: Gridview multiselect http://code.google.com/p/gambas/issues/detail?id=211 You can use Text inside of Title. I will add the Title synonymous anyway, to keep the compatibility with the old GridView.

Re: [Gambas-user] Issue 213 in gambas: The packager includes versioning systems hidden folders into results

2012-03-02 Thread gambas
Updates: Status: Fixed Comment #4 on issue 213 by benoit.m...@gmail.com: The packager includes versioning systems hidden folders into results http://code.google.com/p/gambas/issues/detail?id=213 It should be fixed in revision #4528. There is an option to configure the list of files

Re: [Gambas-user] Issue 188 in gambas: Creating a new directory in the data project data causes a seg. fault

2012-03-02 Thread gambas
Comment #15 on issue 188 by zachsmit...@gmail.com: Creating a new directory in the data project data causes a seg. fault http://code.google.com/p/gambas/issues/detail?id=188 After testing again with r4514, I can no longer reproduce this problem. Please close if you wish.