From leo.barnhoorn at ...246... Mon Mar 1 07:05:08 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 29 Feb 2004 22:05:08 -0800 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402280056.19945.ronstk@...239...> References: <200402260045.51009.gambas@...1...> <200402272327.11255.leo.barnhoorn@...246...> <200402280056.19945.ronstk@...239...> Message-ID: <200402292205.08133.leo.barnhoorn@...246...> Hello Ron, Sorry for answering so late. I have no problems at all, for installing software i use Yast2 and mc and for uninstalling i use also Yast2. And HELP i use the internet to solve the problems i have. And wen the problems to big to solve i start my image-server and put the image back. So i really do not meet the problems you have, sorry. Regards, Leo. On Friday 27 February 2004 15:56, ron wrote: > On Saturday 28 February 2004 08:27, Leo Barnhoorn wrote: > > Hello Ron, > > > > I downloaded the source code and not the RPM, i compiled the CURL lib and > > everything is working well on SuSE 8.2 and SuSE 9.0 > > I downloaded the source code from this site. > > > > http://curl.haxx.se/libcurl/ > > > > Regards, > > Leo Barnhoorn. > > Well then I beleave you have 7.11 now. I did the same way but troubles > after it with Yast. I can't add new ftp installpoints after the upgrade. > curl 7.11 was working well, but I have a problem. > > If I go for curl 7.11 then I don't have a (un)install manager any other > then Kpackage wich can't uninstall. > Also the KDE 3.2 can't installed from SuSe packages and I miss the suse > help how my sytem is build up now. > They integreted KDE help in SuSE help and using the source from KDE will > for shure not support the suse help. > > The other way is drop SuSE and go for Gentoo or Mandrake, but already > knowing the have there problems to, or take the risc and forget suse and go > for upgrading the curl and kde from source. > (called away by doorbell) > > The last option is less risky, I got a laptop for free (pentium 166Mc) > witch runs Knoppix linux CD as backhand to find things out when in trouble. > > Ron > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jeffjohnson at ...377... Mon Mar 1 03:01:00 2004 From: jeffjohnson at ...377... (Jeff Johnson) Date: Sun, 29 Feb 2004 20:01:00 -0600 Subject: [Gambas-user] QPaintDevice: Must construct a QApplication before a QPaintDevice Message-ID: <200402292001.01358.jeffjohnson@...377...> I am new to Gambas. I am running SuSe with Kde3.2 and latest QT. I have tried compiling it, and installing the past from from SuSE. All I manage to get is the following when at a terminal prompt. Any ideas? jeffjohnson at ...56...:~> gambas QPaintDevice: Must construct a QApplication before a QPaintDevice jeffjohnson at ...56...:~> From amelgar at ...207... Mon Mar 1 09:01:56 2004 From: amelgar at ...207... (amelgar) Date: Mon, 01 Mar 2004 09:01:56 +0100 Subject: [Gambas-user] QPaintDevice: Must construct a QApplication before a QPaintDevice In-Reply-To: <200402292001.01358.jeffjohnson@...377...> References: <200402292001.01358.jeffjohnson@...377...> Message-ID: <4042EDF4.9070503@...207...> Jeff Johnson wrote: >I am new to Gambas. >I am running SuSe with Kde3.2 and latest QT. >I have tried compiling it, and installing the past from from SuSE. All I >manage to get is the following when at a terminal prompt. > >Any ideas? > > >jeffjohnson at ...56...:~> gambas >QPaintDevice: Must construct a QApplication before a QPaintDevice >jeffjohnson at ...56...:~> > > > > > You need to install libqt-devel or libkdebase-devel...I don't knok the exact names of the packages in suse... From dimitribellini at ...69... Mon Mar 1 13:54:35 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Mon, 1 Mar 2004 12:54:35 +0000 Subject: [Gambas-user] Debug Watch Crash Array Definition Message-ID: <200403011254.35580.dimitribellini@...69...> Dear all i send it last week and forgot to say i use mdk 9.2 and i found strange problem with Array and Debug watch can someone say some consideration about it? Im in wrong ? Thanks in advance Dimitri Bellini ------------------------------------------------------------------------------------------------ Dear Benoit Thanks for great improvement Gambas Editor !!! I have made this simple function to query mysql and return the data in Array... ------------------------------------------------------------ PUBLIC SUB CliUsed() DIM sQuery AS String DIM rData AS Result DIM sData AS String DIM id AS Integer DIM aCliUsed[100,3] AS String sData=txtDate.text sQuery="select IDCust,AnaCust from log join Customer on log.cardID=Customer.IDCust where callstart like '%"& sData &"%' group by source" rData = $hConn.Exec(sQuery) IF rData.Available THEN DO aCliUsed[id,1]= rData["cardID"] aCliUsed[id,2]=rData["AnaCust"] INC id LOOP UNTIL (rData.MoveNext()<> true) ENDIF CATCH Message.Error(Error.Text) END ------------------------------------------------------------------ But when i try to debug using Step by Step mode and put in Debug Watch the array in mode: aCliUsed[id,1] -- the first work and i see the value add the second aCliUsed[id,2] -- And Gambas "The program has stopped unexpectedly by raising signal #11" and say to report this bug.. Thanks in advance Dimitri Bellini ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------- From gambas at ...1... Mon Mar 1 16:25:31 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 1 Mar 2004 16:25:31 +0100 Subject: [Gambas-user] gambas documentation update In-Reply-To: <200402291746.07111.sourceforge-raindog2@...94...> References: <200402291746.07111.sourceforge-raindog2@...94...> Message-ID: <200403011625.31333.gambas@...1...> On Sunday 29 February 2004 23:46, Rob wrote: > The wiki is current to 0.90 now, and I have made all of Benoit's > last round of change requests except three. You can see my > whole list including what I did in this last round of changes > at: Great news! :-) > > http://www.binara.com/gambas-wiki/bin/view/Gambas/WikiExportTodoList > > 1) hidden methods: "I was not clear for the _new, _get & _set > method: create a page GambasComponent...new as you did, but just > put a link to it in the class page: something like:..." > > I see what you're getting at, but I haven't been creating new, > get or set pages since sometime in the 0.70 series if I remember > right. I never made them intentionally to begin with, since the > instantiation syntax needs to be on the main class page and > _get/_set are supposed to be invisible to the user. Yes. But sometimes, _get and _set are more complicated than just accessing an array, and so need more explanations (like Picture[...] for example). Maybe these explantation could be written directly on the class page... > > 2) automatic or assisted translation: > > I intend to remove all the non-English wikis that haven't had any > activity since 0.80 or so. Then, after you okay the wiki in its > present form (or after any subsequent rounds of changes) I will > re-export the GambasFrancais wiki and set up the script we > talked about to mark pages as "TranslationNeeded" and > potentially fetch a machine-translated version to provide a > starting point for translators. I can't really do that till you > give the English wiki your blessing, though, so I can base the > French wiki on it. No problem. I waited for you to finish updating the wiki so that I can start updating the documentation. > > 3) "Is it possible to insert the class name in symbol page > titles?" > > Possible? Yeah, sure. Possible before the next Gambas release? > Not likely. :) The symbol page titles are in the shell > document, not the exported document, so I will need to sed all > the symbol pages on the server while being careful not to touch > the class or component pages. I wouldn't even know where to > begin right now, but I recognize it'll need to be done > eventually. Is it possible to add a markup in the wiki pages that do nothing but help detecting the titles ? A more important request: Writing many pages by internet is slow. Is it possible for you to send me the wiki pages as a tar.gz ? I then I will update them (just the component part) and then send them back to you ? Of course you will have to compare them to see I somebody else didn't try to modify the pages in the same time. But we can put a message on the wiki to warn people not to edit component documentation. How can I install a wiki on my own computer, so that I can test what I did before sending it to you ? Best regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Mar 1 16:27:32 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 1 Mar 2004 16:27:32 +0100 Subject: [Gambas-user] Debug Watch Crash Array Definition In-Reply-To: <200403011254.35580.dimitribellini@...69...> References: <200403011254.35580.dimitribellini@...69...> Message-ID: <200403011627.32261.gambas@...1...> On Monday 01 March 2004 13:54, Dimitri Bellini wrote: > Dear all > i send it last week and forgot to say i use mdk 9.2 and i found strange > problem with Array and Debug watch can someone say some consideration about > it? Im in wrong ? > Thanks in advance > Dimitri Bellini Don't worry, I take you in consideration, with a gazillion other things :-) Actually, I have no idea about this bug - It is more complicated than it should be :-) So it will take some time before I could have at least one or two days to study the problem. Regards, -- Benoit Minisini mailto:gambas at ...1... From shankarkrupa at ...251... Mon Mar 1 17:25:51 2004 From: shankarkrupa at ...251... (S Krupa Shankar) Date: 1 Mar 2004 16:25:51 -0000 Subject: [Gambas-user] Startup error! :-( Message-ID: <20040301162551.2012.qmail@...379...> An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040301/2157a5ce/attachment.html> -------------- next part -------------- Hello all... Just a few hours back did I install Gambas 9.0 in my Mandrake 9.0. The installation was successful [[[or did I assumed it was? :-)) ]]]. This is the error message I get when I try to run gambas: [root at ...40... root]# gambas ERROR: #27: Cannot load component '/opt/gambas/lib/lib.gb.qt.so': /opt/gambas/lib/lib.gb.qt.so: cannot open shared object file: No such file or directory [root at ...40... root]# Some problem with qt...? What could be wrong, and what should I do to resolve this? Please help. krupa From sourceforge-raindog2 at ...94... Mon Mar 1 17:26:15 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 1 Mar 2004 11:26:15 -0500 Subject: [Gambas-user] gambas documentation update In-Reply-To: <200403011625.31333.gambas@...1...> References: <200402291746.07111.sourceforge-raindog2@...94...> <200403011625.31333.gambas@...1...> Message-ID: <200403011126.15977.sourceforge-raindog2@...94...> On Monday 01 March 2004 10:25, Benoit Minisini wrote: > Yes. But sometimes, _get and _set are more complicated than > just accessing an array, and so need more explanations (like > Picture[...] for example). Maybe these explantation could be > written directly on the class page... I see what you mean, and that is a good idea. I won't get to it today but perhaps tonight or tomorrow. > Is it possible to add a <title> markup in the wiki pages that > do nothing but help detecting the titles ? That is probably the best way to differentiate between types of pages. I will try to add a comment field to the pages programmatically so we won't have this problem in future. > Writing many pages by internet is slow. Is it possible for you > to send me the wiki pages as a tar.gz ? I then I will update > them (just the component part) and then send them back to you Absolutely. It will be quite large though, 10MB. > ? Of course you will have to compare them to see I somebody > else didn't try to modify the pages in the same time. But we > can put a message on the wiki to warn people not to edit > component documentation. Yeah, I'll check WebChanges before putting them back in. > How can I install a wiki on my own computer, so that I can > test what I did before sending it to you ? I have included everything you need for a live copy of the wiki in the following tarball: http://www.binara.com/gambas-wiki/gambas-wiki-dist.tar.gz Make an empty directory called "gambas-wiki" in your web directory, cd to it, untar the above, set "gambas-wiki/bin" to Options ExecCGI in your apache conf, and I think it should work. If it complains that there is a missing perl module I will try to help you out (I think anything it required was available as a mandrake RPM already.) Anyone else who wants to set up a live copy of the wiki is welcome to do so, though realize that it will become outdated before long. Rob From dimitribellini at ...69... Mon Mar 1 18:50:10 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Mon, 1 Mar 2004 17:50:10 +0000 Subject: [Gambas-user] Debug Watch Crash Array Definition In-Reply-To: <200403011627.32261.gambas@...1...> References: <200403011254.35580.dimitribellini@...69...> <200403011627.32261.gambas@...1...> Message-ID: <200403011750.11003.dimitribellini@...69...> Dear Benoit im sorry for my re-post i dont want make underpression to you :-) Thanks for your answer and thanks for your great work with gambas.. Dimitri bellini On Monday 01 March 2004 15:27, Benoit Minisini wrote: > On Monday 01 March 2004 13:54, Dimitri Bellini wrote: > > Dear all > > i send it last week and forgot to say i use mdk 9.2 and i found strange > > problem with Array and Debug watch can someone say some consideration > > about it? Im in wrong ? > > Thanks in advance > > Dimitri Bellini > > Don't worry, I take you in consideration, with a gazillion other things :-) > > Actually, I have no idea about this bug - It is more complicated than it > should be :-) So it will take some time before I could have at least one or > two days to study the problem. > > Regards, From mauriiiii3001 at ...325... Mon Mar 1 20:55:14 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Mon, 01 Mar 2004 20:55:14 +0100 Subject: [Gambas-user] re:Stranges mines Message-ID: <40439522.5030805@...325...> Fabien Bodard ha scritto: > Le Dimanche 29 F?vrier 2004 13:38, Pozzo a ?crit : > > >> here it is >> > > ....hum!..... use picturebox.border property in place of your > buttons.... it don't change with the desktop th?me. > > Fabien > > > Thank you for your suggestion now is easier to program, but I 'have one problem I would like to change the .border proprerty during the execution of the program and I tried something like this but it didn't work: Last.border = none Thank you Maurizio From abidoo.too at ...11... Mon Mar 1 22:51:35 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 1 Mar 2004 22:51:35 +0100 Subject: [Gambas-user] re:Stranges mines In-Reply-To: <40439522.5030805@...325...> References: <40439522.5030805@...325...> Message-ID: <200403012251.35547.abidoo.too@...11...> Le Lundi 1 Mars 2004 20:55, Pozzo a ?crit : > Fabien Bodard ha scritto: > > Le Dimanche 29 F?vrier 2004 13:38, Pozzo a ?crit : > >> here it is > > > > ....hum!..... use picturebox.border property in place of your > > buttons.... it don't change with the desktop th?me. > > > > Fabien > > Thank you for your suggestion now is easier to program, but I 'have one > problem I would like to change the .border proprerty during the > execution of the program and I tried something like this but it didn't > work: > > Last.border = none last.border = border.none see border object in the gb help > Thank you > > Maurizio > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Tue Mar 2 05:01:06 2004 From: ronstk at ...239... (ron) Date: Tue, 2 Mar 2004 05:01:06 +0100 Subject: [Gambas-user] Mini Gambas Message-ID: <200403020501.06957.ronstk@...239...> Hi, I found a nice site. It's in German language only. http://www.madeasy.de/7/gambas.htm Ron. From ronstk at ...239... Tue Mar 2 04:22:15 2004 From: ronstk at ...239... (ron) Date: Tue, 2 Mar 2004 04:22:15 +0100 Subject: [Gambas-user] gambas documentation update In-Reply-To: <200403011126.15977.sourceforge-raindog2@...94...> References: <200402291746.07111.sourceforge-raindog2@...94...> <200403011625.31333.gambas@...1...> <200403011126.15977.sourceforge-raindog2@...94...> Message-ID: <200403020422.15562.ronstk@...239...> On Monday 01 March 2004 17:26, Rob wrote: > On Monday 01 March 2004 10:25, Benoit Minisini wrote: -- 8<-- > I have included everything you need for a live copy of the wiki > in the following tarball: > > http://www.binara.com/gambas-wiki/gambas-wiki-dist.tar.gz > > Make an empty directory called "gambas-wiki" in your web > directory, cd to it, untar the above, set "gambas-wiki/bin" to > Options ExecCGI in your apache conf, and I think it should work. > If it complains that there is a missing perl module I will try > to help you out (I think anything it required was available as a > mandrake RPM already.) > > Anyone else who wants to set up a live copy of the wiki is > welcome to do so, though realize that it will become outdated > before long. > > Rob > Rob: All done, changed in the TWiki.cfg the local directories. Had some problems to get mod_perl running but also success. SuSE used SetHandler perl-script in the example and as normal this didn't work Changing after much trials to cgi-script and it goes now. I had to add this to the httpd.conf included file <Location /gambas-wiki/bin> # SetHandler perl-script stupis SuSE, this does not exists SetHandler cgi-script PerlHandler Apache::Registry Options +ExecCGI -Includes PerlSendHeader On </Location> The .htaccess file renamed while the line 26 with SetHandler blabla gives a error. The SetHandler on the beginning line 9 is also not allowed. The Auth directives are also forbidden.? Start to edit a page and got a error about /usr/bin/ci ....... This is from the RCS and I don't have it :( The static works with charm so nice and quick. I want to help with edits but I wait till you have determined how to do the updates with Benoit. I asume you need only the changed files after 1-mrt back when I have somthing ready. Benoit: Can you give some hints what has priority I can do? I'm happy if I can help and on the website it is to slow her to do major edits as you did say. Ron. From sourceforge-raindog2 at ...94... Tue Mar 2 06:02:58 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 2 Mar 2004 00:02:58 -0500 Subject: [Gambas-user] gambas documentation update In-Reply-To: <200403020422.15562.ronstk@...239...> References: <200402291746.07111.sourceforge-raindog2@...94...> <200403011126.15977.sourceforge-raindog2@...94...> <200403020422.15562.ronstk@...239...> Message-ID: <200403020002.58587.sourceforge-raindog2@...94...> On Monday 01 March 2004 22:22, ron wrote: > Had some problems to get mod_perl running but also success. You've gotten further than me, then.... on binara.com, the wiki is running as a plain old set of CGI's. ;) > The .htaccess file renamed while the line 26 with > SetHandler blabla gives a error. > The SetHandler on the beginning line 9 is also not allowed. > The Auth directives are also forbidden.? Hmmm, I guess I should figure out what parts of the apache conf files are relevant and post them. There are about 60 web sites hosted on that machine though.... binara.com is by far the highest traffic, but I'm sure no one wants to see that many virtual server configs :) > Start to edit a page and got a error about /usr/bin/ci ....... > This is from the RCS and I don't have it :( Ugh, that's right, yes, twiki requires rcs because that's how it keeps its diffs. > The static works with charm so nice and quick. Of course, it takes about 4-5 hours a day to generate nowadays on our old-ass server ;) > I want to help with edits but I wait till you have determined > how to do the updates with Benoit. > I asume you need only the changed files after 1-mrt back when > I have somthing ready. Yes, only getting changed files back would be muy bien. I'm going to diff them regardless but that way I will have fewer files to diff. Rob From nigel at ...38... Tue Mar 2 15:08:42 2004 From: nigel at ...38... (Nigel Gerrard) Date: Tue, 2 Mar 2004 14:08:42 -0000 Subject: [Gambas-user] Checkbox References: <200402282327.04443.jscops@...11...> Message-ID: <005901c40067$85147b40$030a0a0a@...360...> Jack, My_data = CheckBox.Value should work where My_data has been defined as a boolean (the database type TINYINT is taken to mean a boolean by GAMBAS). If My_data is defined as any other type then you will need to do some sort of conversion. Nigel ----- Original Message ----- From: "Jack" <jscops at ...11...> To: <gambas-user at lists.sourceforge.net> Sent: Saturday, February 28, 2004 10:27 PM Subject: [Gambas-user] Checkbox Hello Charlie, Yes, your answer is good. We must convert the Gambas boolean(True or False) to MySQL Logic(1 or 0 (not y or n)), otherwise Gambas write always "FALSE" in the field. (Never True even if Checkbox.Value = True) Perhaps a bug ? -"Why are you calling my name ?" Because i think that you have to answer me to my first question. No ? Avec toutes mes amiti?s. ?~Jacky~? ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=ick _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From fiero74 at ...67... Wed Mar 3 16:37:58 2004 From: fiero74 at ...67... (-fiero -) Date: Wed, 03 Mar 2004 09:37:58 -0600 Subject: [Gambas-user] improvements / bugs Message-ID: <BAY9-F44MVR6JDspPeP0003cefe@...67...> An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040303/e5555ce8/attachment.html> From mauriiiii3001 at ...325... Wed Mar 3 20:08:13 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Wed, 03 Mar 2004 20:08:13 +0100 Subject: [Gambas-user] simulate click Message-ID: <40462D1D.8030506@...325...> Hi All Anybody of you can tell my how I can simulate that the user clicked on one image I have a subroutine that when arrive to a point it have to raise the event of some objects. I didn't understand how to use the raise methos i tried doing something like this : i.raise MouseUp() rasie MouseUp(i) where i is the object that must raise the event From oxleyd at ...364... Thu Mar 4 11:46:09 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 4 Mar 2004 11:46:09 +0100 Subject: [Gambas-user] ICMP / Ping In-Reply-To: <40462D1D.8030506@...325...> Message-ID: <200403040928.i249SpJE029692@...364...> Hi, Anyone know how I can implement the ICMP command PING from within Gambas? I want to ping a machine and capture the response from within Gambas without using a Shell command and then analysing a text file output. Thanks. From danielcampos at ...282... Thu Mar 4 13:26:43 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 4 Mar 2004 13:26:43 CET Subject: [Gambas-user] ICMP / Ping Message-ID: <mnet1.1078403203.27880.danielcampos@...282...> >Anyone know how I can implement the ICMP command PING from within >Gambas? I >want to ping a machine and capture the response from within Gambas >without >using a Shell command and then analysing a text file output. > You should use process class, in order to execute 'ping' and receive standard output from that command. Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From nigel at ...38... Thu Mar 4 16:35:49 2004 From: nigel at ...38... (Nigel Gerrard) Date: Thu, 4 Mar 2004 15:35:49 -0000 Subject: [Gambas-user] Gambas-0.90 : Problem with cut within the Editor Message-ID: <00f801c401fe$f1847fd0$5cdd4c51@...360...> Benoit, When editing a class in the IDE and trying to cut several lines, the repaint does not clear the widget correctly. See the snapshots (Number 1 shows the before, Number 2 shows theselect and Number 3 shows after the cut.) I have looked at qeditor.cpp to try and find the problem but was unsuccessful. In the CEditor.cpp I tried to insert WIDGET->repaint() in the CEDITOR_cut method but to no effect.The only way I could work around the problem was to add WIDGET->hide() followed by WIDGET->show(); after WIDGET->cut(). Perhaps you can better pin point the problem. Nigel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040304/2ef3ce0f/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot3.png Type: image/png Size: 25779 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040304/2ef3ce0f/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot2.png Type: image/png Size: 27433 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040304/2ef3ce0f/attachment-0001.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot1.png Type: image/png Size: 27435 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040304/2ef3ce0f/attachment-0002.png> From sourceforge-raindog2 at ...94... Thu Mar 4 17:19:59 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 4 Mar 2004 11:19:59 -0500 Subject: [Gambas-user] Fwd: Gambas Article Message-ID: <200403041119.59178.sourceforge-raindog2@...94...> Patrick's not on our lists as far as I know, but was nice enough to clue us in to the following mostly positive article. He and I both made comments in the talkback section. Unfortunately, I made a typo in mine where I said it was meant to be "VB without all the stuff that makes people hate VB" rather than "BASIC without all the stuff that makes people hate VB". :) ---------- Forwarded Message ---------- Subject: Gambas Article Date: Thursday 04 March 2004 05:39 From: Patrick Moulin <patrickmoulin at ...174...> To: gambas at ...1..., webmaster at ...94... Hi Just wanted to let you know that there is a Gambas article on LinuxFocus, March/April issue. http://www.linuxfocus.org/English/March2004/article329.shtml Best wishes Patrick ------------------------------------------------------- From sourceforge-raindog2 at ...94... Thu Mar 4 18:33:36 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 4 Mar 2004 12:33:36 -0500 Subject: [Gambas-user] mandrake 10 gambas version Message-ID: <200403041233.36056.sourceforge-raindog2@...94...> Mandrake 10.0 released to mandrakeclub members: http://www.mandrakeclub.com/article.php?sid=1776 It looks like they never got around to adding the gambas 0.90 packages I uploaded to the Mandrake 10 Powerpack final release, so it'll end up having gambas 0.84a in it instead. :P I will probably be installing 10.0 on my laptop this weekend and getting rid of 9.1, so if someone else would like to maintain 9.1 packages in the future please feel free. However, this is the "Community Edition" and it looks like it'll never be available at retail, just for download.... the retail edition will follow in some months and will have bugfixes and presumably package upgrades, so there's still hope for that. Rob From shankarkrupa at ...251... Thu Mar 4 18:46:28 2004 From: shankarkrupa at ...251... (S Krupa Shankar) Date: 4 Mar 2004 17:46:28 -0000 Subject: [Gambas-user] Newbie - gambas startup error-please, please, please help....! Message-ID: <20040304174628.2581.qmail@...380...> An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040304/44dae4de/attachment.html> -------------- next part -------------- Hello all... I am a newbie in Linux. I was happy to hear about Gambas, for nothing would offer more comfort me. I could use my Visual Basic knowledge in Linux also because of Gambas. (well...I have at least "programmable knowledge" in VB). ;-) However, I have trouble in getting started. Installation was fine, without any hazzle I was able to install. But when I typed "gambas" in the terminel, I got this error... ------------------------------------------ ERROR: #27: Cannot load component '/opt/gambas/lib/lib.gb.qt.so': /opt/gambas/lib/lib.gb.qt.so: cannot open shared object file: No such file or directory ------------------------------------------ Please help me to resolve it...should I change any setting in my Mandrake 9.0 linux? Should I install any additional packages/change anything? Please help... krupa From girardhenri at ...67... Thu Mar 4 19:48:53 2004 From: girardhenri at ...67... (Henri Girard) Date: Thu, 4 Mar 2004 19:48:53 +0100 Subject: [Gambas-user] mandrake 10 gambas version References: <200403041233.36056.sourceforge-raindog2@...94...> Message-ID: <BAY8-DAV322QNXPQQWv000178df@...67...> I compiled gambas 090 without any problem on the m10rc1 i guess it will be the same for the release ? I download it and update.. HG ----- Original Message ----- From: "Rob" <sourceforge-raindog2 at ...94...> To: <gambas-user at lists.sourceforge.net> Sent: Thursday, March 04, 2004 6:33 PM Subject: [Gambas-user] mandrake 10 gambas version > Mandrake 10.0 released to mandrakeclub members: > > http://www.mandrakeclub.com/article.php?sid=1776 > > It looks like they never got around to adding the gambas 0.90 > packages I uploaded to the Mandrake 10 Powerpack final release, > so it'll end up having gambas 0.84a in it instead. :P I will > probably be installing 10.0 on my laptop this weekend and > getting rid of 9.1, so if someone else would like to maintain > 9.1 packages in the future please feel free. > > However, this is the "Community Edition" and it looks like it'll > never be available at retail, just for download.... the retail > edition will follow in some months and will have bugfixes and > presumably package upgrades, so there's still hope for that. > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From girardhenri at ...67... Thu Mar 4 19:55:29 2004 From: girardhenri at ...67... (Henri Girard) Date: Thu, 4 Mar 2004 19:55:29 +0100 Subject: [Gambas-user] m10 Message-ID: <BAY8-DAV18uGlRqlV5R00017860@...67...> Only for members available ! so I wait ... I guess there is lot of bugs.. +-------------------------------------------------------------+ | Voici mon symbole ooo : Here is my ooo | +-------------------------------------------------------------+ @^@ o _/ \_ Une paire de lunettes "universelles" : universal glasses -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040304/4c0c8f6e/attachment.html> From daniel.campos at ...338... Thu Mar 4 20:17:58 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 04 Mar 2004 20:17:58 +0100 Subject: [Gambas-user] Newbie - gambas startup error-please, please, please help....! In-Reply-To: <20040304174628.2581.qmail@...380...> References: <20040304174628.2581.qmail@...380...> Message-ID: <1078427878.11121.3.camel@...40...> It seems you have not the qt-devel package installed in your system, so, after using "./configure" in the source code (I suppose you used a source package, not a binary, tell me if it is not true), QT component was disabled, so Gambas IDE, that needs it, can not start. You need to install al QT-devel libraries, then configure and compile again the program. Regards, Daniel Campos El jue, 04-03-2004 a las 18:46, S Krupa Shankar escribi?: > Hello all... > > I am a newbie in Linux. I was happy to hear about Gambas, for nothing would offer more comfort me. I could use my Visual Basic knowledge in Linux also because of Gambas. (well...I have at least "programmable knowledge" in VB). ;-) > > > However, I have trouble in getting started. Installation was fine, without any hazzle I was able to install. But when I typed "gambas" in the terminel, I got this error... > > ------------------------------------------ > ERROR: #27: Cannot load component '/opt/gambas/lib/lib.gb.qt.so': > /opt/gambas/lib/lib.gb.qt.so: cannot open shared object file: No such file or directory > ------------------------------------------ > > Please help me to resolve it...should I change any setting in my Mandrake 9.0 linux? Should I install any additional packages/change anything? Please help... > > krupa From mauriiiii3001 at ...325... Thu Mar 4 20:40:14 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Thu, 04 Mar 2004 20:40:14 +0100 Subject: [Gambas-user] Left and Right Click Message-ID: <4047861E.3020807@...325...> Hi Benoit, I was wondering if it was possible to cacht when the user click on an Image and on a buttom with the right buttom of the mouse I think this possibility will be really usefull. thanks Maurizio From abidoo.too at ...11... Thu Mar 4 22:06:25 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Thu, 4 Mar 2004 22:06:25 +0100 Subject: [Gambas-user] Left and Right Click In-Reply-To: <4047861E.3020807@...325...> References: <4047861E.3020807@...325...> Message-ID: <200403042206.25767.abidoo.too@...11...> Le Jeudi 4 Mars 2004 20:40, Pozzo a ?crit : > Hi Benoit, > I was wondering if it was possible to cacht when the user click on an > Image and on a buttom with the right buttom of the mouse I think this > possibility will be really usefull. > thanks > > Maurizio > ;) it exist... public sub pic_MouseUp() if mouse.button = mouse.right then 'here is your code endif end Gambas is really powerfull and a real object language > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jholm at ...381... Fri Mar 5 00:06:59 2004 From: jholm at ...381... (jholm at ...381...) Date: Fri, 5 Mar 2004 00:06:59 +0100 Subject: [Gambas-user] "[12] Not an object" error. Message-ID: <20040304230335.M45710@...381...> Hi, I have some problems I hope you can help me with regarding installing Gambas. I can compile Gambas OK, and install it (make), but upon launching it I receive the following errors: Warning: cannot find /usr/lib/info/gb.info Warning: cannot find /usr/lib/info/gb.qt.info When i create a project and add form, I get the following error: [12] Not an object. At: FProperty.RefreshAll.109 and the program exits. The console has a lot of output like: SetProperty: Form.Width: CControl.SetProperty.456: Not an object SetProperty: Form.Height: CControl.SetProperty.456: Not an object SetProperty: Form.X: CControl.SetProperty.456: Not an object SetProperty: Form.Y: CControl.SetProperty.456: Not an object ... I have tried to compile it with gcc 3.2.3 and 3.3.2 both yielding the same result. I use the Gentoo distribution. Any ideas? Best regards, Jesper Holm From sourceforge-raindog2 at ...94... Fri Mar 5 00:58:59 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 4 Mar 2004 18:58:59 -0500 Subject: [Gambas-user] Gambas CGI library, version 0.01 Message-ID: <200403041858.59200.sourceforge-raindog2@...94...> I've made a Gambas library that lets you write simple CGI applications in Gambas. It's a bit primitive (static class named CGI, with functions called Querystring and Form that each return a collection for GET and POST variables respectively, a function called Header that just returns a string to print in order to make it a valid CGI script, and a couple support functions to decode variables) but something people have been asking for on and off for about a year now. You can test what I've done at: http://www.kudla.org/testcgilib.html Enjoy, and I look forward to people's input and/or mods ;) Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: CGIlib-0.01.tar.gz Type: application/x-tgz Size: 2678 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040304/11b91846/attachment.bin> From gambas at ...1... Fri Mar 5 14:41:44 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 5 Mar 2004 14:41:44 +0100 Subject: [Gambas-user] "[12] Not an object" error. In-Reply-To: <20040304230335.M45710@...381...> References: <20040304230335.M45710@...381...> Message-ID: <200403051441.44077.gambas@...1...> On Friday 05 March 2004 00:06, jholm at ...381... wrote: > Hi, > > I have some problems I hope you can help me with regarding installing > Gambas. I can compile Gambas OK, and install it (make), but upon launching > it I receive the following errors: > > Warning: cannot find /usr/lib/info/gb.info > Warning: cannot find /usr/lib/info/gb.qt.info > > When i create a project and add form, I get the following error: > > [12] Not an object. > At: FProperty.RefreshAll.109 > > and the program exits. > > The console has a lot of output like: > SetProperty: Form.Width: CControl.SetProperty.456: Not an object > SetProperty: Form.Height: CControl.SetProperty.456: Not an object > SetProperty: Form.X: CControl.SetProperty.456: Not an object > SetProperty: Form.Y: CControl.SetProperty.456: Not an object > ... > > I have tried to compile it with gcc 3.2.3 and 3.3.2 both yielding the same > result. I use the Gentoo distribution. > > Any ideas? > > Best regards, > Jesper Holm > Read carefully the output of make & make install. Something went wrong, for sure. Tell me if you find what happened. Regards, -- Benoit Minisini mailto:gambas at ...1... From mardus at ...298... Sat Mar 6 03:09:47 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Fri, 5 Mar 2004 23:09:47 -0300 Subject: [Gambas-user] Re: Rpg Project (using SDL) In-Reply-To: <200402281212.49578.sourceforge-raindog2@...94...> References: <20040228073500.90620.qmail@...376...> <200402281113.30485.gambas@...1...> <200402281212.49578.sourceforge-raindog2@...94...> Message-ID: <200403052309.47299.mardus@...298...> El S?b 28 Feb 2004 14:12, Rob escribi?: >(Ro) Sure you can. That SDL Gambas demo I did using perl-SDL as the >(Ro) back end could do it pretty easily (each button was assigned to >(Ro) a channel, and I declared 4 or 8 channels... Please, where can I find this demo ? -- Para el cierre: --- El Ping?inor?culo sol?a citar: BEBE A BORDO ( pero con moderaci?n ) - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From ronstk at ...239... Sat Mar 6 04:00:16 2004 From: ronstk at ...239... (ron) Date: Sat, 6 Mar 2004 04:00:16 +0100 Subject: [Gambas-user] "[12] Not an object" error. In-Reply-To: <200403051441.44077.gambas@...1...> References: <20040304230335.M45710@...381...> <200403051441.44077.gambas@...1...> Message-ID: <200403060400.17070.ronstk@...239...> On Friday 05 March 2004 14:41, Benoit Minisini wrote: > On Friday 05 March 2004 00:06, jholm at ...381... wrote: > > Hi, > > > > I have some problems I hope you can help me with regarding installing > > Gambas. I can compile Gambas OK, and install it (make), but upon > > launching it I receive the following errors: > > > > Warning: cannot find /usr/lib/info/gb.info > > Warning: cannot find /usr/lib/info/gb.qt.info > > > > When i create a project and add form, I get the following error: > > > > [12] Not an object. > > At: FProperty.RefreshAll.109 > > > > and the program exits. > > > > The console has a lot of output like: > > SetProperty: Form.Width: CControl.SetProperty.456: Not an object > > SetProperty: Form.Height: CControl.SetProperty.456: Not an object > > SetProperty: Form.X: CControl.SetProperty.456: Not an object > > SetProperty: Form.Y: CControl.SetProperty.456: Not an object > > ... > > > > I have tried to compile it with gcc 3.2.3 and 3.3.2 both yielding the > > same result. I use the Gentoo distribution. > > > > Any ideas? > > > > Best regards, > > Jesper Holm > > Read carefully the output of make & make install. Something went wrong, for > sure. Tell me if you find what happened. > > Regards, I found also a problem with the .info files. After I created the RowAt and ColumnAt and did a make & make install and these files where not updated. You advise me to use the gbi program to update the object help browser. The problem as far I found is that gbi can't create outsite the normal make & make install of the whole package the info fles (gb.info). After empty the /opt/gambas/lib/info directory shows me a few new other .info files but gb.info has length 0 after a trial to make those info files. This is the last one made at the abort/vrash of gbi. Do the normal full m & mi these files are created as normal. Ron From sourceforge-raindog2 at ...94... Sat Mar 6 05:30:35 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 5 Mar 2004 23:30:35 -0500 Subject: [Gambas-user] Re: Rpg Project (using SDL) In-Reply-To: <200403052309.47299.mardus@...298...> References: <20040228073500.90620.qmail@...376...> <200402281212.49578.sourceforge-raindog2@...94...> <200403052309.47299.mardus@...298...> Message-ID: <200403052330.35106.sourceforge-raindog2@...94...> On Friday 05 March 2004 21:09, Marcelo Duschkin wrote: > El S?b 28 Feb 2004 14:12, Rob escribi?: > >(Ro) Sure you can. That SDL Gambas demo I did using perl-SDL > > as the (Ro) back end could do it pretty easily (each button > > was assigned to (Ro) a channel, and I declared 4 or 8 > > channels... > > Please, where can I find this demo ? It was on my homepage http://www.kudla.org, buried way down (you'd have had to search for "SDL") but it needed a one-line change to work with Gambas 0.90 so here it is again. This program has a sound playing class that uses a perl process on the back end, and a form that allows you to load and then play simultaneously up to 4 sounds. You'll need perl-SDL installed, as I said... best way to make sure of this is if you have a working copy of Frozen Bubble installed. Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: SoundHack-0.02.tar.gz Type: application/x-tgz Size: 2396 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040305/82290173/attachment.bin> From gambas at ...1... Sat Mar 6 10:52:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 6 Mar 2004 10:52:48 +0100 Subject: [Gambas-user] "[12] Not an object" error. In-Reply-To: <200403060400.17070.ronstk@...239...> References: <20040304230335.M45710@...381...> <200403051441.44077.gambas@...1...> <200403060400.17070.ronstk@...239...> Message-ID: <200403061052.48403.gambas@...1...> On Saturday 06 March 2004 04:00, ron wrote: > > I found also a problem with the .info files. > After I created the RowAt and ColumnAt and did a make & make install and > these files where not updated. > You advise me to use the gbi program to update the object help browser. > The problem as far I found is that gbi can't create outsite the normal make > & make install of the whole package the info fles (gb.info). > After empty the /opt/gambas/lib/info directory shows me a few new other > .info files but gb.info has length 0 after a trial to make those info > files. This is the last one made at the abort/vrash of gbi. > Do the normal full m & mi these files are created as normal. > > Ron > > You must be root to launch 'gbi -a', as this program will write the info files in the /opt/gambas/lib/info directory. -- Benoit Minisini mailto:gambas at ...1... From mardus at ...298... Sat Mar 6 15:13:50 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Sat, 6 Mar 2004 11:13:50 -0300 Subject: [Gambas-user] Re: Rpg Project (using SDL) In-Reply-To: <200403052330.35106.sourceforge-raindog2@...94...> References: <20040228073500.90620.qmail@...376...> <200403052309.47299.mardus@...298...> <200403052330.35106.sourceforge-raindog2@...94...> Message-ID: <200403061113.50269.mardus@...298...> El S?b 06 Mar 2004 01:30, Rob escribi?: >(Ro) You'll need perl-SDL installed, as I said... best way to make >(Ro) sure of this is if you have a working copy of Frozen Bubble >(Ro) installed. Yes, it is. I delayed the Gambas test because of that :)) But now, another question. What about the distribution of a Gambas application? We need to install all the Gambas pakage, now SDL, and?? I think it will be important to prepare an "complete installer". Please, sorry for my poor English. Thanks. -- Para el cierre: --- El Ping?inor?culo sol?a citar: Una vez terminado el juego, el rey y el pe?n vuelven a la misma caja. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From sourceforge-raindog2 at ...94... Sat Mar 6 15:28:35 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 6 Mar 2004 09:28:35 -0500 Subject: [Gambas-user] Re: Rpg Project (using SDL) In-Reply-To: <200403061113.50269.mardus@...298...> References: <20040228073500.90620.qmail@...376...> <200403052330.35106.sourceforge-raindog2@...94...> <200403061113.50269.mardus@...298...> Message-ID: <200403060928.35523.sourceforge-raindog2@...94...> On Saturday 06 March 2004 09:13, Marcelo Duschkin wrote: > But now, another question. > What about the distribution of a Gambas application? > We need to install all the Gambas pakage, now SDL, and?? > I think it will be important to prepare an "complete > installer". I will probably submit a patch that lets you build RPM's directly from the IDE. For Gambas applications it ain't rocket science. For that project it would be a simple matter of including "Requires: perl-SDL" in the spec, and then urpmi (for mandrake), apt-rpm or yum (for fedora) would automatically make sure everything's installed. I don't like the idea of making "complete installers" that bypass most distros' package management at all, because that's a good way to break your system. Maybe if most of the Linux desktop world were running Slack or Gentoo that would be a good idea, but most of the world (especially that part who would not say "ewww, you wrote it in BASIC?") is running an RPM-based distro. Rob From vbtricks at ...365... Sat Mar 6 15:59:21 2004 From: vbtricks at ...365... (VBTricks Prof ) Date: Sat, 06 Mar 2004 14:59:21 GMT Subject: [Gambas-user] Installing QT-Libraries Message-ID: <1078585161020325@...91...> I have the same problem mentioned some mails before. ERROR: #27: Cannot load component '/opt/gambas/lib/lib.gb.qt.so': /opt/gambas/lib/lib.gb.qt.so: cannot open shared object file: File or path not found What libraries do I have to select in Synaptic on Knoppix [Debian]? Stefan Lycos empfiehlt: Erhalten Sie hier eine kostenlose Unfallversicherung von Lycos f?r 12 Monate! Infos unter: http://www.lycos.de/service/ace/landingpage/index.html From mardus at ...298... Sat Mar 6 16:17:35 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Sat, 6 Mar 2004 12:17:35 -0300 Subject: [Gambas-user] Re: Re: Rpg Project (using SDL) In-Reply-To: <200403060928.35523.sourceforge-raindog2@...94...> References: <20040228073500.90620.qmail@...376...> <200403061113.50269.mardus@...298...> <200403060928.35523.sourceforge-raindog2@...94...> Message-ID: <200403061217.35218.mardus@...298...> El S?b 06 Mar 2004 11:28, Rob escribi?: >(Ro) I will probably submit a patch that lets you build RPM's directly >(Ro) from the IDE. For Gambas applications it ain't rocket science. It will fullfill all my dreams :)) Thanks. -- Para el cierre: --- El Ping?inor?culo sol?a citar: El que nunca perdi? un archivo, que tire el primer diskette. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From mauriiiii3001 at ...325... Sat Mar 6 19:04:42 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Sat, 06 Mar 2004 19:04:42 +0100 Subject: [Gambas-user] Re: Left and Right Click Message-ID: <404A12BA.2000505@...325...> > > > it exist... > >public sub pic_MouseUp() > > if mouse.button = mouse.right then > 'here is your code > endif > >end > >Gambas is really powerfull and a real object language > Why this don't work? When I click on a image with the left buttom it go to the else and do the same if I try to cacht the right buttom: PUBLIC SUB Pik_MouseUp() IF mouse.Button = mouse.Left THEN c = 0 clicckete(LAST) ELSE IF Right(LAST.tag,2) <> "no" THEN picsave.Load("save.png") LAST.picture = picsave LAST.tag = LAST.tag & "no" ELSE LAST.picture = "" LAST.tag = Left(LAST.tag,-2) ENDIF ENDIF END :-( Maurizio From sourceforge-raindog2 at ...94... Sun Mar 7 00:57:36 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 6 Mar 2004 18:57:36 -0500 Subject: [Gambas-user] M-x visual-basic-mode Message-ID: <200403061857.36444.sourceforge-raindog2@...94...> I discovered that there's a Visual BASIC mode for Emacs, and it works well on Gambas class files too (even uses Mixed Case for the commands, as it should be, instead of ALL CAPS :) ) Grab it here: http://ftp.gnu.org/gnu/windows/emacs/docs/ntemacs/contrib/visual-basic-mode.el Of course, since it's emacs you then have to jump through hoops to get it to work automatically. On Mandrake you copy the above file here: /usr/share/emacs/site-lisp And add the following lines to /etc/emacs/site-start.el: ;; load visual basic mode for editing gambas files (load-library "visual-basic-mode") (setq auto-mode-alist (cons '("\\.\\(frm\\|class\\|form\\|module\\|bas\\|cls\\|vbs\\)$" . visual-basic-mode) auto-mode-alist)) I find this very helpful for editing classes in non-GUI projects like the CGI stuff I've been playing with. Rob From sourceforge-raindog2 at ...94... Sun Mar 7 02:26:16 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 6 Mar 2004 20:26:16 -0500 Subject: [Gambas-user] RPM generator patch for gambas IDE Message-ID: <200403062026.16289.sourceforge-raindog2@...94...> OK, here's a patch to the Gambas IDE that adds a "Build RPM..." entry to the Project menu. When you select it, it will do the following things: 1. See if you have an RPM directory structure set up and if not, set it up. 2. See if you have an RPM macros file (where you set your name, email address, distro name, etc.) and creates one and prompts you to edit it if not. (I'm using kedit because I couldn't figure out how to use the IDE's built in text editor more easily than SHELL "kedit " & filename WAIT...) 3. Makes a tar.bz file of the project in the RPM SOURCES directory. 4. Generates a spec file. 5. Builds the RPM and source RPM. 6. Tells you where it put the RPM, or if it failed, brings up kedit again with the RPM build process output. This patch is against gambas 0.90. You will need the rpm-build package installed if you're using Mandrake, don't know what it's called on other RPM-based distros. I created a user with a blank home directory and all worked as advertised, and it worked fine as my "schmoe" user under which I build all my RPM's. Please let me know of any errors you get. Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-rpm-builder.diff Type: text/x-diff Size: 5360 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040306/ee4e68b0/attachment.diff> From sourceforge-raindog2 at ...94... Sun Mar 7 02:40:19 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 6 Mar 2004 20:40:19 -0500 Subject: [Gambas-user] oh, i forgot.... RPM thing again Message-ID: <200403062040.19782.sourceforge-raindog2@...94...> Important notes about the RPM's you're going to generate with my automatic thing: 1. Most Gambas projects have mixed-case names. While you can create mixed-case RPM's, lately it's been frowned upon. Nonetheless, I don't change the case of the project name. 2. If your project expects any files to be in place besides the executable (Gambas archive) itself, you'll have to manually add them to the spec file (which will be in RPM/SPECS/projectname.spec under your home directory) under the %files section and rpm -ba projectname.spec to regenerate the RPMs. 3. If your project doesn't have a title, the RPM title and description will both be set to "Gambas project projectname" with "This project needs Gambas to run" or something like that added to the description. 4. The RPM category is always Application/Other. I would give you a list of every possible RPM category to pick from, but every distro is different nowadays. Again, you can edit the spec file and rebuild as I mentioned in #2. 5. No documentation is included. Traditionally you want at least the file COPYING to be included in the package of a GPL'ed app. You can add the file COPYING to your project and then add a line "%doc COPYING" to the spec file and rebuild if you want. 6. I don't automatically generate a desktop icon or menu entry for the project either, because again this varies by distro. It may be as easy as making a projectname.desktop file and throwing it in /usr/share/applnk, or.... it might not. ;) I may just submit another patch if Benoit accepts this one, to implement the freedesktop.org menu entry and category standards. None of these things should prevent you from throwing your Gambas packages on your website as RPMs, but they could make the packages fail rpmlint and not be accepted into a distribution's contrib repository. But it should be enough to get you started, and hopefully a few of you will continue learning based on what I generate and become RPM masters ;) Rob From ronan at ...384... Sun Mar 7 13:20:07 2004 From: ronan at ...384... (Ronan Chilvers) Date: Sun, 7 Mar 2004 12:20:07 +0000 Subject: [Gambas-user] Re: Left and Right Click In-Reply-To: <404A12BA.2000505@...325...> References: <404A12BA.2000505@...325...> Message-ID: <20040307122007.7584273f@...385...> Hi Pozzo On Sat, 06 Mar 2004 19:04:42 +0100 Pozzo <mauriiiii3001 at ...325...> wrote: > PUBLIC SUB Pik_MouseUp() > IF mouse.Button = mouse.Left THEN > c = 0 > clicckete(LAST) > ELSE > IF Right(LAST.tag,2) <> "no" THEN > > picsave.Load("save.png") > > LAST.picture = picsave > LAST.tag = LAST.tag & "no" > ELSE > LAST.picture = "" > LAST.tag = Left(LAST.tag,-2) > ENDIF > ENDIF > END Have you tried simply IF Mouse.Left THEN .... ELSE ... END IF Works for me! Ronan -- e: ronan at ...384... t: 01903 739 997 w: www.thelittledot.com The Little Dot is a partnership of Ronan Chilvers and Giles Webberley From gambas at ...1... Sun Mar 7 16:19:40 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Mar 2004 16:19:40 +0100 Subject: [Gambas-user] Re: Left and Right Click In-Reply-To: <20040307122007.7584273f@...385...> References: <404A12BA.2000505@...325...> <20040307122007.7584273f@...385...> Message-ID: <200403071619.41130.gambas@...1...> On Sunday 07 March 2004 13:20, Ronan Chilvers wrote: > Have you tried simply > > IF Mouse.Left THEN > .... > ELSE > ... > END IF > > Works for me! > > Ronan This is the right thing to do. The documentation is not really up to date, I'm sorry! I will update it as soon as possible. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Mar 7 16:23:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Mar 2004 16:23:28 +0100 Subject: [Gambas-user] oh, i forgot.... RPM thing again In-Reply-To: <200403062040.19782.sourceforge-raindog2@...94...> References: <200403062040.19782.sourceforge-raindog2@...94...> Message-ID: <200403071623.28216.gambas@...1...> On Sunday 07 March 2004 02:40, Rob wrote: > Important notes about the RPM's you're going to generate with my > automatic thing: > > 1. Most Gambas projects have mixed-case names. While you can > create mixed-case RPM's, lately it's been frowned upon. > Nonetheless, I don't change the case of the project name. > > 2. If your project expects any files to be in place besides the > executable (Gambas archive) itself, you'll have to manually add > them to the spec file (which will be in > RPM/SPECS/projectname.spec under your home directory) under the > %files section and rpm -ba projectname.spec to regenerate the > RPMs. > > 3. If your project doesn't have a title, the RPM title and > description will both be set to "Gambas project projectname" > with "This project needs Gambas to run" or something like that > added to the description. > > 4. The RPM category is always Application/Other. I would give > you a list of every possible RPM category to pick from, but > every distro is different nowadays. Again, you can edit the > spec file and rebuild as I mentioned in #2. > > 5. No documentation is included. Traditionally you want at least > the file COPYING to be included in the package of a GPL'ed app. > You can add the file COPYING to your project and then add a line > "%doc COPYING" to the spec file and rebuild if you want. > > 6. I don't automatically generate a desktop icon or menu entry > for the project either, because again this varies by distro. It > may be as easy as making a projectname.desktop file and throwing > it in /usr/share/applnk, or.... it might not. ;) I may just > submit another patch if Benoit accepts this one, to implement > the freedesktop.org menu entry and category standards. > > None of these things should prevent you from throwing your Gambas > packages on your website as RPMs, but they could make the > packages fail rpmlint and not be accepted into a distribution's > contrib repository. But it should be enough to get you started, > and hopefully a few of you will continue learning based on what > I generate and become RPM masters ;) > > Rob > This is a very cool feature. I will add it as soon as possible. Regards, -- Benoit Minisini mailto:gambas at ...1... From jscops at ...11... Sun Mar 7 17:35:56 2004 From: jscops at ...11... (Jack) Date: Sun, 7 Mar 2004 17:35:56 +0100 Subject: [Gambas-user] If condition Message-ID: <200403071735.56775.jscops@...11...> Hello Gambers ! Is anybody can tell me what is wrong about this ? IF Left$(Cdcol.text,2) <> "00" OR Left$(Cdcol.text,2) <> "11" THEN message.warning (" Verifier vos variables SVP","OK") This one give the same result(Don't work). IF not Left$(Cdcol.text,2) = "00" OR not Left$(Cdcol.text,2) = "11" THEN message.warning (" Verifier vos variables SVP","OK") ?~Jack~? From sourceforge-raindog2 at ...94... Sun Mar 7 18:58:27 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 7 Mar 2004 12:58:27 -0500 Subject: [Gambas-user] If condition In-Reply-To: <200403071735.56775.jscops@...11...> References: <200403071735.56775.jscops@...11...> Message-ID: <200403071258.28041.sourceforge-raindog2@...94...> On Sunday 07 March 2004 11:35, Jack wrote: > Is anybody can tell me what is wrong about this ? > IF Left$(Cdcol.text,2) <> "00" OR Left$(Cdcol.text,2) <> > "11" THEN message.warning (" Verifier vos variables > SVP","OK") You need AND in both cases. There is no situation where the above would evaluate to false. Rob From daniel.campos at ...338... Sun Mar 7 19:19:03 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 07 Mar 2004 19:19:03 +0100 Subject: [Gambas-user] If condition In-Reply-To: <200403071735.56775.jscops@...11...> References: <200403071735.56775.jscops@...11...> Message-ID: <1078683543.3116.4.camel@...40...> Mmmh... the condition you say is always true, that is, if Cdcol.Text="11...", the left side is different than "00" so you receive the message, and if CdCol.Text="00...", the left side of the string is diffrent than "11" so you receive the message. If CdCol.Text is any other thing, you will also receive the message as it is different than "00.." and "11.."... may be you want to do that: IF Left$(Cdcol.text,2) <> "00" AND Left$(Cdcol.text,2) <> "11" THEN message.warning (" Verifier vos variables SVP","OK") END IF Regards, Daniel Campos El dom, 07-03-2004 a las 17:35, Jack escribi?: > Hello Gambers ! > > Is anybody can tell me what is wrong about this ? > > IF Left$(Cdcol.text,2) <> "00" OR Left$(Cdcol.text,2) <> "11" THEN > message.warning (" Verifier vos variables SVP","OK") > > This one give the same result(Don't work). > > IF not Left$(Cdcol.text,2) = "00" OR not Left$(Cdcol.text,2) = "11" THEN > message.warning (" Verifier vos variables SVP","OK") > > ?~Jack~? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jscops at ...11... Sun Mar 7 19:57:26 2004 From: jscops at ...11... (Jack) Date: Sun, 7 Mar 2004 19:57:26 +0100 Subject: [Gambas-user] If condition Message-ID: <200403071957.26872.jscops@...11...> Oh yeahh !!! I'm very stupid and I must stop the wine. Thank's From shankarkrupa at ...251... Sun Mar 7 21:56:05 2004 From: shankarkrupa at ...251... (S Krupa Shankar) Date: 7 Mar 2004 20:56:05 -0000 Subject: [Gambas-user] Newbie - gambas startup error-please, please, please help....! Message-ID: <20040307205605.18777.qmail@...386...> An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040307/540cfbc6/attachment.html> -------------- next part -------------- >Daniel Campos <daniel.campos at ...338...> wrote: >It seems you have not the qt-devel package installed in your system, >so, after using "./configure" in the source code (I suppose you used a >source package, not a binary, tell me if it is not true), QT component >was disabled, so Gambas IDE, that needs it, can not start. >You need to install al QT-devel libraries, then configure and compile >again the program. Hi... Thanks for offering the help. I did try as you said.... I made sure that I have the qt-devel. I went to "Remove Software" from Mandrake Conrol Center and checked...QT3-Develop was installed. Then I compiled and installed the program. Still getting the same error "/opt/gambas/lib/lib.gb.qt.so: " not out there. :-(( I tried the RPM build in Kudla.org. (though I have only Mandrake 9.0). Ah...one more thing of interest is... I actually installed Gambas 6.0 or 6.2, I don't remember which version, previously. It did work fine. Please help. krupa From sourceforge-raindog2 at ...94... Sun Mar 7 22:29:45 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 7 Mar 2004 16:29:45 -0500 Subject: [Gambas-user] Newbie - gambas startup error-please, please, please help....! In-Reply-To: <20040307205605.18777.qmail@...386...> References: <20040307205605.18777.qmail@...386...> Message-ID: <200403071629.45377.sourceforge-raindog2@...94...> On Sunday 07 March 2004 15:56, S Krupa Shankar wrote: > I tried the RPM build in Kudla.org.  (though I have only > Mandrake 9.0).<BR> <BR> > Ah...one more thing of interest is...<BR> > <BR> > I actually installed Gambas 6.0 or 6.2, I don't remember which > version, previously.  It did work fine.<BR> <BR> Unfortunately, Mandrake 9.0 uses Qt 3.0. You need Qt 3.1 to build recent versions of Gambas... the most recent version you can build is probably newer than what's on my site (I stopped building them when I got rid of my last Mandrake 9.0 box) but you will almost certainly not be able to get Gambas 0.8x or 0.90 working on Mandrake 9.0. I would normally be a little upset about this, but Mandrake 9.0 is three versions out of date now. ;) Rob From jholm at ...381... Sun Mar 7 22:38:16 2004 From: jholm at ...381... (jholm at ...381...) Date: Sun, 7 Mar 2004 22:38:16 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <20040304230335.M45710@...381...> References: <20040304230335.M45710@...381...> Message-ID: <20040307212513.M34881@...381...> Hi, I've done some further studying of my problem. First of all, if I do a clean (from source, that is) "make, make install" the gbi seg-faults on the info files. I didn't see that at first, sorry. I've tried to recompile with gcc 3. 2.3 and 3.3.2 and with -O3 and -O switches, but no luck. I get the following warnings from "./configure > /dev/null/": configure: warning: *** internationalization library (if not present in C library) is disabled configure: warning: *** charset conversion library (if not present in C library) is disabled configure: warning: *** PostgreSQL driver is disabled configure: warning: *** MySQL driver is disabled When using the Gentoo ebuild, which effectively just removes the gbi part of the Makefile, I get the below mentioned errors. But in the FAQ I see Gentoo 1.4 as being supported, meaning that my system most likely has a problem. Is there any particular demands on the linked libraries? version numbers, gcc compiler, optimization settings, or ... hope you can help. Regards, Jesper Holm ---------- Forwarded Message ----------- From: jholm at ...381... To: gambas-user at lists.sourceforge.net Sent: Fri, 5 Mar 2004 00:06:59 +0100 Subject: "[12] Not an object" error. Hi, I have some problems I hope you can help me with regarding installing Gambas. I can compile Gambas OK, and install it (make), but upon launching it I receive the following errors: Warning: cannot find /usr/lib/info/gb.info Warning: cannot find /usr/lib/info/gb.qt.info When i create a project and add form, I get the following error: [12] Not an object. At: FProperty.RefreshAll.109 and the program exits. The console has a lot of output like: SetProperty: Form.Width: CControl.SetProperty.456: Not an object SetProperty: Form.Height: CControl.SetProperty.456: Not an object SetProperty: Form.X: CControl.SetProperty.456: Not an object SetProperty: Form.Y: CControl.SetProperty.456: Not an object ... I have tried to compile it with gcc 3.2.3 and 3.3.2 both yielding the same result. I use the Gentoo distribution. Any ideas? Best regards, Jesper Holm ------- End of Forwarded Message ------- From abidoo.too at ...11... Sun Mar 7 23:52:35 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 7 Mar 2004 23:52:35 +0100 Subject: [Gambas-user] If condition In-Reply-To: <200403071957.26872.jscops@...11...> References: <200403071957.26872.jscops@...11...> Message-ID: <200403072352.36150.abidoo.too@...11...> Le Dimanche 7 Mars 2004 19:57, Jack a ?crit : > Oh yeahh !!! > I'm very stupid and I must stop the wine. > Thank's yep et v?rifiez avec 'ez' votre fran?ais ... :) Fabien (cognac producer) > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From abidoo.too at ...11... Sun Mar 7 23:56:17 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 7 Mar 2004 23:56:17 +0100 Subject: [Gambas-user] Hi all Message-ID: <200403072356.17045.abidoo.too@...11...> I've udated my site.... Now you can send news, internal message, code, set you psw, set your email or your picture. I can set admin some users. (but a this time the admin can just have the users and preusers list) Fabien http://gambas.magic-systems.net From steff.eddy at ...330... Mon Mar 8 04:38:00 2004 From: steff.eddy at ...330... (stefanus) Date: Mon, 08 Mar 2004 10:38:00 +0700 Subject: [Gambas-user] Re: Hi all In-Reply-To: <200403072356.17045.abidoo.too@...11...> References: <200403072356.17045.abidoo.too@...11...> Message-ID: <20040308033800.1326.qmail@...387...> hi fabien, i can't register what's wrong???, in empty box Login : eddy Password : trial email address : steff.eddy at ...330... i have valid email address, but i can't register, please help. Thanks in Advance regards eddy Fabien Bodard writes: > I've udated my site.... > > Now you can send news, internal message, code, set you psw, set your email or > your picture. > > I can set admin some users. > (but a this time the admin can just have the users and preusers list) > > Fabien > > http://gambas.magic-systems.net > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Mon Mar 8 14:35:14 2004 From: ronstk at ...239... (ron) Date: Mon, 8 Mar 2004 14:35:14 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <20040307212513.M34881@...381...> References: <20040304230335.M45710@...381...> <20040307212513.M34881@...381...> Message-ID: <200403081435.16339.ronstk@...239...> On Sunday 07 March 2004 22:38, jholm at ...381... wrote: > Hi, > > I've done some further studying of my problem. First of all, if I do a > clean (from source, that is) "make, make install" the gbi seg-faults on the > info files. I didn't see that at first, sorry. I've tried to recompile with > gcc 3. 2.3 and 3.3.2 and with -O3 and -O switches, but no luck. > > I get the following warnings from "./configure > /dev/null/": > > configure: warning: *** internationalization library (if not present in C > library) is disabled > configure: warning: *** charset conversion library (if not present in C > library) is disabled I do have these to but can't say it is bad. It is a warning and not a error. > configure: warning: *** PostgreSQL driver is disabled > configure: warning: *** MySQL driver is disabled > > > When using the Gentoo ebuild, which effectively just removes the gbi part > of the Makefile, I get the below mentioned errors. This remove is the source of the problem I think > > But in the FAQ I see Gentoo 1.4 as being supported, meaning that my system > most likely has a problem. Is there any particular demands on the linked > libraries? version numbers, gcc compiler, optimization settings, or ... > > hope you can help. > > Regards, > Jesper Holm > As Benoit already send to me as answer You must be root to launch 'gbi -a', as this program will write the info files in the /opt/gambas/lib/info directory. The -a options tells gbi to make all info files. This should work. Only if one of the compiled libraries has an error you get a segfault. look witch are done and saved in /opt/gambas/lib/info and wich are not done. When al is ok you should have these files gb.db.info <==== these not while postGRE and MySQL are disabled gb.eval.info gb.info gb.net.info gb.qt.editor.info gb.qt.ext.info gb.qt.info gb.qt.kde.html.info gb.qt.kde.info gb.sdl.info gb.vb.info For the missing you can use gbi with the above name without the .info at the end. The bad one will return the segfault. Ron From gambas at ...1... Mon Mar 8 15:19:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 8 Mar 2004 15:19:07 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403081435.16339.ronstk@...239...> References: <20040304230335.M45710@...381...> <20040307212513.M34881@...381...> <200403081435.16339.ronstk@...239...> Message-ID: <200403081519.07845.gambas@...1...> On Monday 08 March 2004 14:35, ron wrote: > > As Benoit already send to me as answer > > You must be root to launch 'gbi -a', as this program will write the info > files in the /opt/gambas/lib/info directory. > > The -a options tells gbi to make all info files. > > This should work. Only if one of the compiled libraries has an error you > get a segfault. look witch are done and saved in /opt/gambas/lib/info and > wich are not done. When al is ok you should have these files > > gb.db.info <==== these not while postGRE and MySQL are disabled > gb.eval.info > gb.info > gb.net.info > gb.qt.editor.info > gb.qt.ext.info > gb.qt.info > gb.qt.kde.html.info > gb.qt.kde.info > gb.sdl.info > gb.vb.info > > For the missing you can use gbi with the above name without the .info at > the end. The bad one will return the segfault. > > Ron > "gbi -a" write a *.info file for each *.component file it finds in /opt/gambas/lib. In a correct install, if a component is disabled, the corresponding *.component file is not installed. If the ./configure script disables a component, and after all the info file is installed, then this is a bug and you should tell me! Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Mon Mar 8 16:00:48 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 8 Mar 2004 10:00:48 -0500 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403081435.16339.ronstk@...239...> References: <20040304230335.M45710@...381...> <20040307212513.M34881@...381...> <200403081435.16339.ronstk@...239...> Message-ID: <200403081000.48839.sourceforge-raindog2@...94...> On Monday 08 March 2004 08:35, ron wrote: > You must be root to launch 'gbi -a', as this program will > write the info files in the /opt/gambas/lib/info directory. gbi -a maybe, but you can't build RPM's as root and get them accepted into any distros, so I did this: for l in *.la ; do l=${l:4:${#l}-7}; echo $l.info; gbi $l > lib/info/$l.info; done where lib is a subdirectory of the source tree, the contents of which are included in the %files directive of the RPM spec. And it's been working fine for quite a while. Maybe that's all you guys need to do to get the ebuild working right. Rob From ronstk at ...239... Mon Mar 8 18:59:36 2004 From: ronstk at ...239... (ron) Date: Mon, 8 Mar 2004 18:59:36 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403081519.07845.gambas@...1...> References: <20040304230335.M45710@...381...> <200403081435.16339.ronstk@...239...> <200403081519.07845.gambas@...1...> Message-ID: <200403081859.37291.ronstk@...239...> On Monday 08 March 2004 15:19, Benoit Minisini wrote: > On Monday 08 March 2004 14:35, ron wrote: > > As Benoit already send to me as answer > > > > You must be root to launch 'gbi -a', as this program will write the info > > files in the /opt/gambas/lib/info directory. > > > > The -a options tells gbi to make all info files. sniper snap > "gbi -a" write a *.info file for each *.component file it finds > in /opt/gambas/lib. In a correct install, if a component is disabled, the > corresponding *.component file is not installed. > > If the ./configure script disables a component, and after all the info file > is installed, then this is a bug and you should tell me! > When I am right this is not the case! He wrote the next sentence. >> When using the Gentoo ebuild, which effectively just removes the gbi part >> of the Makefile, I get the below mentioned errors. It looks to me that gentoo has done the damage, they removed the gbi part in the make part to where the .info files are created if I understand him right. I give only the way how to do it himself. For him to verify all is done ok i give the list what and where he must find it. In case of a error in one of the library sources for this operation gbi abort total. I had it in the past after the third file and only 1 and 2 where written, 3 was ok but not written and the fault was in the 4'th. The rest was not done at all. May be that is a bug but with wrong source input it not strange :) I did a verify a few days back and I have a component build that is not ready and has somewhere a error so gbi abort fatal. removing this component and gbi goes 100% ok. Rob: There is nothing with building a rpm for distribution but one received from gentoo that maybe is mangled in bad way by them. Ron From ronstk at ...239... Mon Mar 8 19:07:37 2004 From: ronstk at ...239... (ron) Date: Mon, 8 Mar 2004 19:07:37 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403081000.48839.sourceforge-raindog2@...94...> References: <20040304230335.M45710@...381...> <200403081435.16339.ronstk@...239...> <200403081000.48839.sourceforge-raindog2@...94...> Message-ID: <200403081907.37282.ronstk@...239...> On Monday 08 March 2004 16:00, Rob wrote: > On Monday 08 March 2004 08:35, ron wrote: > > You must be root to launch 'gbi -a', as this program will > > write the info files in the /opt/gambas/lib/info directory. > > gbi -a maybe, but you can't build RPM's as root and get them > accepted into any distros, so I did this: > > for l in *.la ; do l=${l:4:${#l}-7}; echo $l.info; gbi $l > > lib/info/$l.info; done > > where lib is a subdirectory of the source tree, the contents of > which are included in the %files directive of the RPM spec. And > it's been working fine for quite a while. Maybe that's all you > guys need to do to get the ebuild working right. > > Rob > l=${l:4:${#l}-7} ??????????? Nice and one thing goes better. With gbi -a a error in *.la stops to create the rest. In this formule all except excactly the bad one are made. Will try the next time i have to do it. Ron From sourceforge-raindog2 at ...94... Mon Mar 8 20:19:11 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 8 Mar 2004 14:19:11 -0500 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403081907.37282.ronstk@...239...> References: <20040304230335.M45710@...381...> <200403081000.48839.sourceforge-raindog2@...94...> <200403081907.37282.ronstk@...239...> Message-ID: <200403081419.11262.sourceforge-raindog2@...94...> On Monday 08 March 2004 13:07, ron wrote: > l=${l:4:${#l}-7} ??????????? It's a bashism. ${#l} is the length of variable l, ${l:start:length} is like Gambas' Mid$ function. It's saying, basically, take gb.somename.la and return just somename. I'd like to say I came up with it, but I got it from someone else's build script ;) Rob From listes.godard at ...11... Mon Mar 8 20:34:40 2004 From: listes.godard at ...11... (Laurent Godard) Date: Mon, 08 Mar 2004 20:34:40 +0100 Subject: [Gambas-user] Beginner questions Message-ID: <404CCAD0.6070606@...11...> Hi all, After many years spent under windows (and mainly VB programming), i switched to linux 10 days ago And then i found it !!! Tha Gambas project !! exactly what i was looking for .... I'm a developper mainly actually involved in OpenOfice.org. I have some theoritical knowledge of C/C++ and java but i'm not experienced enough to write deep applications ... Before diving into Gambas, i have some basic questions i didn't find the answers on the web site - is Gambas self contained ? if i want to redistribut my programs, what will i need as dependancies - licensing terms : am i allowed to sell my programs ? i am independant developper and event if i release all my sources under LGPL, am i allowed to work on a gambas project and be paid - any idea of portability of UI under windows schedule ? I red it is planned but is the work going on ? I think this feature would give a huge boost to the gambas project Now i want to speak about the OpenOffice.org (OOo) project You may perharps know that OOo allow a lot of language to connect to it (c++, java, python, delphi, VB, perl, php (through com) ...) OOo gives a framework for doing this called UNO There are a lot of examples (mainly java and C++) that explain how to connect an application do OOo Would it be interresting for Gambas ? Having an entire office suite accessible through a component ? I think (but i'm not sure at all) that only a bridge would be necessary I can help giving the right links and guide among UNO, OOo API, ask the questions the the good developpers ... and so on The final step would perharps be that OOo include the gambas component by default (but should be released as LGPL) What do you think, is it valuable for you ? Feel free to ask me for more details and please don't forget my beginner's questions ;) Thanks again for this wonderfull project Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From ronstk at ...239... Mon Mar 8 20:49:34 2004 From: ronstk at ...239... (ron) Date: Mon, 8 Mar 2004 20:49:34 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403081419.11262.sourceforge-raindog2@...94...> References: <20040304230335.M45710@...381...> <200403081907.37282.ronstk@...239...> <200403081419.11262.sourceforge-raindog2@...94...> Message-ID: <200403082049.34503.ronstk@...239...> On Monday 08 March 2004 20:19, Rob wrote: > On Monday 08 March 2004 13:07, ron wrote: > > l=${l:4:${#l}-7} ??????????? > > It's a bashism. ${#l} is the length of variable l, > ${l:start:length} is like Gambas' Mid$ function. It's saying, > basically, take gb.somename.la and return just somename. > > I'd like to say I came up with it, but I got it from someone > else's build script ;) > > Rob > Uhmmm gb.somename.la = 3 + 8 + 3 = 14 start on 4 for the letters so I know now it is base 1 then I need 8 for length, ${#l}-7 = 14-7 = 8? Do I miss something or do you miss the last letter? :) Ron From abidoo.too at ...11... Mon Mar 8 20:55:45 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 8 Mar 2004 20:55:45 +0100 Subject: [Gambas-user] Re: Hi all In-Reply-To: <20040308033800.1326.qmail@...387...> References: <200403072356.17045.abidoo.too@...11...> <20040308033800.1326.qmail@...387...> Message-ID: <200403082055.45912.abidoo.too@...11...> Le Lundi 8 Mars 2004 04:38, stefanus a ?crit : > hi fabien, > > i can't register what's wrong???, in empty box > Login : eddy > Password : trial > email address : steff.eddy at ...330... > > i have valid email address, but i can't register, please help. > > Thanks in Advance > > > regards > > eddy hi eddy, now you can register... Fabien (it's a problem in my regexp) From genone at ...89... Mon Mar 8 20:51:11 2004 From: genone at ...89... (Marius Mauch) Date: Mon, 8 Mar 2004 20:51:11 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403081435.16339.ronstk@...239...> References: <20040304230335.M45710@...381...> <20040307212513.M34881@...381...> <200403081435.16339.ronstk@...239...> Message-ID: <20040308205111.07e91279@...388...> On 03/08/04 ron wrote: > You must be root to launch 'gbi -a', as this program will write the > info files in the /opt/gambas/lib/info directory. > > The -a options tells gbi to make all info files. > > This should work. Only if one of the compiled libraries has an error > you get a segfault. look witch are done and saved in > /opt/gambas/lib/info and wich are not done. When al is ok you should > have these files > > gb.db.info <==== these not while postGRE and MySQL are disabled > gb.eval.info > gb.info > gb.net.info > gb.qt.editor.info > gb.qt.ext.info > gb.qt.info > gb.qt.kde.html.info > gb.qt.kde.info > gb.sdl.info > gb.vb.info > > For the missing you can use gbi with the above name without the .info > at the end. The bad one will return the segfault. The problematic ones are gb.qt.kde and gb.qt.kde.html, I "fixed" this in the ebuild for 0.90-r1 by removing the relevant .component files. Marius Gentoo Linux Developer -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040308/add3ae28/attachment.sig> From daniel.campos at ...338... Mon Mar 8 21:10:12 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Mon, 08 Mar 2004 21:10:12 +0100 Subject: [Gambas-user] Beginner questions In-Reply-To: <404CCAD0.6070606@...11...> References: <404CCAD0.6070606@...11...> Message-ID: <1078776612.2999.6.camel@...40...> El lun, 08-03-2004 a las 20:34, Laurent Godard escribi?: > Hi all, > > After many years spent under windows (and mainly VB programming), i > switched to linux 10 days ago > > And then i found it !!! Tha Gambas project !! exactly what i was looking > for .... > > I'm a developper mainly actually involved in OpenOfice.org. I have some > theoritical knowledge of C/C++ and java but i'm not experienced enough > to write deep applications ... > > Before diving into Gambas, i have some basic questions i didn't find the > answers on the web site > - is Gambas self contained ? if i want to redistribut my programs, what > will i need as dependancies You should install gambas in the target computer, as all components are libraries dinamically linked, provided with gambas package, however, you don't need to install Gambas-IDE nor Gambas-database-manager. You can keep hard disk space if you do not install documentation. > - licensing terms : am i allowed to sell my programs ? i am independant > developper and event if i release all my sources under LGPL, am i > allowed to work on a gambas project and be paid Yes, but there are some restrictions. I mean you can use gambas for a 'closed' program, but if you use the graphical part, you should pay a QT commercial license ( I think it's cheaper than Windows programming environments :-) > - any idea of portability of UI under windows schedule ? I red it is > planned but is the work going on ? I think this feature would give a > huge boost to the gambas project May be in the future, using cygwin... > > Now i want to speak about the OpenOffice.org (OOo) project > You may perharps know that OOo allow a lot of language to connect to it > (c++, java, python, delphi, VB, perl, php (through com) ...) > OOo gives a framework for doing this called UNO > There are a lot of examples (mainly java and C++) that explain how to > connect an application do OOo I think something like the OOo OCX, an OpenOffice component for gambas would be interesting, but I had never found clear information about OpenOffice API before you wrote that! Where can I find more? > > Would it be interresting for Gambas ? Having an entire office suite > accessible through a component ? I think (but i'm not sure at all) that > only a bridge would be necessary > I can help giving the right links and guide among UNO, OOo API, ask the > questions the the good developpers ... and so on > The final step would perharps be that OOo include the gambas component > by default (but should be released as LGPL) > What do you think, is it valuable for you ? > > Feel free to ask me for more details and please don't forget my > beginner's questions ;) > > Thanks again for this wonderfull project > > Laurent From danielcampos at ...282... Mon Mar 8 21:11:38 2004 From: danielcampos at ...282... (Daniel Campos) Date: Mon, 08 Mar 2004 21:11:38 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403082049.34503.ronstk@...239...> References: <20040304230335.M45710@...381...> <200403081907.37282.ronstk@...239...> <200403081419.11262.sourceforge-raindog2@...94...> <200403082049.34503.ronstk@...239...> Message-ID: <1078776698.2999.9.camel@...40...> May be a "[12]_Not_an_object_error_gambas at lists.sourceforge.net"? :-))) Regards, Daniel Campos El lun, 08-03-2004 a las 20:49, ron escribi?: > On Monday 08 March 2004 20:19, Rob wrote: > > On Monday 08 March 2004 13:07, ron wrote: > > > l=${l:4:${#l}-7} ??????????? > > > > It's a bashism. ${#l} is the length of variable l, > > ${l:start:length} is like Gambas' Mid$ function. It's saying, > > basically, take gb.somename.la and return just somename. > > > > I'd like to say I came up with it, but I got it from someone > > else's build script ;) > > > > Rob > > > Uhmmm > gb.somename.la = 3 + 8 + 3 = 14 > start on 4 for the letters so I know now it is base 1 > then I need 8 for length, ${#l}-7 = 14-7 = 8? > Do I miss something or do you miss the last letter? :) > > Ron > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Daniel Campos <danielcampos at ...282...> From jholm at ...381... Mon Mar 8 21:11:27 2004 From: jholm at ...381... (Jesper Holm) Date: Mon, 8 Mar 2004 21:11:27 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403081859.37291.ronstk@...239...> References: <20040304230335.M45710@...381...> <200403081519.07845.gambas@...1...> <200403081859.37291.ronstk@...239...> Message-ID: <200403082111.27612.jholm@...381...> On Monday 08 March 2004 18:59, ron wrote: > On Monday 08 March 2004 15:19, Benoit Minisini wrote: > > On Monday 08 March 2004 14:35, ron wrote: > > > As Benoit already send to me as answer > > > > > > You must be root to launch 'gbi -a', as this program will write the > > > info files in the /opt/gambas/lib/info directory. > > > > > > The -a options tells gbi to make all info files. > > sniper snap > > > "gbi -a" write a *.info file for each *.component file it finds > > in /opt/gambas/lib. In a correct install, if a component is disabled, the > > corresponding *.component file is not installed. > > > > If the ./configure script disables a component, and after all the info > > file is installed, then this is a bug and you should tell me! > > When I am right this is not the case! He wrote the next sentence. > > >> When using the Gentoo ebuild, which effectively just removes the gbi > >> part of the Makefile, I get the below mentioned errors. > > It looks to me that gentoo has done the damage, they removed the gbi part > in the make part to where the .info files are created if I understand him > right. > Thanks Ron, The problem is that the source when compiled "from scratch" so to speak, segfaults in the 4th gbi file. All Gentoo did was to comment out the generation of .info files in the Makefile. I don't know whaht these .info files contain, do or if they are vital, but the program crashes without them being installed. with "[12] ..." error. > I give only the way how to do it himself. For him to verify all is done ok > i give the list what and where he must find it. > > In case of a error in one of the library sources for this operation gbi > abort total. I had it in the past after the third file and only 1 and 2 > where written, 3 was ok but not written and the fault was in the 4'th. The > rest was not done at all. > May be that is a bug but with wrong source input it not strange :) This is _exactly_ what happens in the "make install" part, it builds to .info files write a third of zero length segfaults and then due to recursion i guess the parallel make segfaults to and the install process is aborted. It succeeds on the gb.net.info and gb.qt.ext.info files, but segfualts on gb.qt.kde.html.info yielding a filesize of 292 bytes. But gb.sdl.info is written as well with zero-length thiugh. Is the problem in the qt libraries? khtml, maybe? I hate to reconpile KDE, but, well it has been a while :-) > > I did a verify a few days back and I have a component build that is not > ready and has somewhere a error so gbi abort fatal. removing this component > and gbi goes 100% ok. > > Rob: > There is nothing with building a rpm for distribution but one received from > gentoo that maybe is mangled in bad way by them. > > Ron Jesper From listes.godard at ...11... Mon Mar 8 21:18:09 2004 From: listes.godard at ...11... (Laurent Godard) Date: Mon, 08 Mar 2004 21:18:09 +0100 Subject: [Gambas-user] Beginner questions In-Reply-To: <1078776612.2999.6.camel@...40...> References: <404CCAD0.6070606@...11...> <1078776612.2999.6.camel@...40...> Message-ID: <404CD501.90202@...11...> Hi Daniel, >>- is Gambas self contained ? if i want to redistribut my programs, what >>will i need as dependancies > > > You should install gambas in the target computer, as all components are > libraries dinamically linked, provided with gambas package, however, you > don't need to install Gambas-IDE nor Gambas-database-manager. You can > keep hard disk space if you do not install documentation. > i saw that there were a projetc on doing rpms would this avoid installing gambas ? > >>- licensing terms : am i allowed to sell my programs ? i am independant >>developper and event if i release all my sources under LGPL, am i >>allowed to work on a gambas project and be paid > > > Yes, but there are some restrictions. I mean you can use gambas for a > 'closed' program, but if you use the graphical part, you should pay a QT > commercial license ( I think it's cheaper than Windows programming > environments :-) > No QT is IIRC as expensibve as ms tools under windows I thought , probably wrong, that the QT using as free only implied to release sources as GPL. Am I wrong ? > >>- any idea of portability of UI under windows schedule ? I red it is >>planned but is the work going on ? I think this feature would give a >>huge boost to the gambas project > > > May be in the future, using cygwin... > :)) > >>Now i want to speak about the OpenOffice.org (OOo) project >>You may perharps know that OOo allow a lot of language to connect to it >>(c++, java, python, delphi, VB, perl, php (through com) ...) >>OOo gives a framework for doing this called UNO >>There are a lot of examples (mainly java and C++) that explain how to >>connect an application do OOo > > > I think something like the OOo OCX, an OpenOffice component for gambas > would be interesting, but I had never found clear information about > OpenOffice API before you wrote that! Where can I find more? > not the ocx already given by OOo. It's only a viewer to pen OOo files in IE more info at *http://udk.openofficE.org/ http://udk.openofficE.org/cpp/man/cpp_bridges.html *http://api.openoffice.org/SDK/index.html --> the SDK developers guide chapter 3 and 4 deal with C++ uno components I can send you some code in private uiif you're inetrrested in it i can find more i advise you if interrested to subscribe to some dev mailing lists (feel free to contcat me) Thanks a lot for your response laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From jholm at ...381... Mon Mar 8 21:30:35 2004 From: jholm at ...381... (Jesper Holm) Date: Mon, 8 Mar 2004 21:30:35 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <20040308205111.07e91279@...388...> References: <20040304230335.M45710@...381...> <200403081435.16339.ronstk@...239...> <20040308205111.07e91279@...388...> Message-ID: <200403082130.35903.jholm@...381...> On Monday 08 March 2004 20:51, Marius Mauch wrote: > On 03/08/04 ron wrote: > > You must be root to launch 'gbi -a', as this program will write the > > info files in the /opt/gambas/lib/info directory. > > > > The -a options tells gbi to make all info files. > > > > This should work. Only if one of the compiled libraries has an error > > you get a segfault. look witch are done and saved in > > /opt/gambas/lib/info and wich are not done. When al is ok you should > > have these files > > > > gb.db.info <==== these not while postGRE and MySQL are disabled > > gb.eval.info > > gb.info > > gb.net.info > > gb.qt.editor.info > > gb.qt.ext.info > > gb.qt.info > > gb.qt.kde.html.info > > gb.qt.kde.info > > gb.sdl.info > > gb.vb.info > > > > For the missing you can use gbi with the above name without the .info > > at the end. The bad one will return the segfault. > > The problematic ones are gb.qt.kde and gb.qt.kde.html, I "fixed" this in > the ebuild for 0.90-r1 by removing the relevant .component files. > > Marius > > Gentoo Linux Developer Hello Marius, I guess that kind of solved the .info question, and when they are removed from the ebuild they aren't a vital part for using Gambas I assume. But have you any idea why I receive all the "Not an object error" errors?? I have tried with default compilation options "make" & "make install" but with the gbi -a commented out in the Makefile. Have I compiled KDE with too aggressive Optimization paramters: "-O3 -Pipe -fomit-frame-pointer -march=pentium3" ?? (runs on centrino) Jesper From daniel.campos at ...338... Mon Mar 8 21:36:45 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Mon, 08 Mar 2004 21:36:45 +0100 Subject: [Gambas-user] Beginner questions In-Reply-To: <404CD501.90202@...11...> References: <404CCAD0.6070606@...11...> <1078776612.2999.6.camel@...40...> <404CD501.90202@...11...> Message-ID: <1078778205.2999.21.camel@...40...> > > > > i saw that there were a projetc on doing rpms > would this avoid installing gambas ? mmmh... May be Rob can reply better than me, but I think the rpm provides just the gambas program, yo you need already the rest of the gambas stuff... You can compare this with VB, you don't need the complete VB installed, but you need msbvmXX.dll, vb.dll, DCOM, etc, if you want a really small package you should test what you need: at least libgambas.so , gbx ,(gbi?, gbc?), the info files, etc... may be you'd prefer just to install gambas (I think soon, there will be packages for a lot of distributions) > > > > > > Yes, but there are some restrictions. I mean you can use gambas for a > > 'closed' program, but if you use the graphical part, you should pay a QT > > commercial license ( I think it's cheaper than Windows programming > > environments :-) > > > > No QT is IIRC as expensibve as ms tools under windows > I thought , probably wrong, that the QT using as free only implied to > release sources as GPL. Am I wrong ? If you release a "Gambas-QT" program under GPL or LGPL, you have to pay nothing to Trolltech, however, if you do not want a free license for your program, you've to pay the commercial license > > > > :)) > > > > >>Now i want to speak about the OpenOffice.org (OOo) project > >>You may perharps know that OOo allow a lot of language to connect to it > >>(c++, java, python, delphi, VB, perl, php (through com) ...) > >>OOo gives a framework for doing this called UNO > >>There are a lot of examples (mainly java and C++) that explain how to > >>connect an application do OOo > > > > > > I think something like the OOo OCX, an OpenOffice component for gambas > > would be interesting, but I had never found clear information about > > OpenOffice API before you wrote that! Where can I find more? > > > > not the ocx already given by OOo. It's only a viewer to pen OOo files in IE > > more info at > *http://udk.openofficE.org/ > http://udk.openofficE.org/cpp/man/cpp_bridges.html > *http://api.openoffice.org/SDK/index.html --> the SDK developers guide > chapter 3 and 4 deal with C++ uno components > I can send you some code in private uiif you're inetrrested in it > Yes, I'm interested in that, may be that will be one of my next steps, however first I have to finish the 'net.curl' component, and I'm so busy these weeks!, however you will receive news from me in the next months, sure! > i can find more > i advise you if interrested to subscribe to some dev mailing lists (feel > free to contcat me) > > Thanks a lot for your response > > laurent From ronstk at ...239... Mon Mar 8 21:46:17 2004 From: ronstk at ...239... (ron) Date: Mon, 8 Mar 2004 21:46:17 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <1078776698.2999.9.camel@...40...> References: <20040304230335.M45710@...381...> <200403082049.34503.ronstk@...239...> <1078776698.2999.9.camel@...40...> Message-ID: <200403082146.17300.ronstk@...239...> On Monday 08 March 2004 21:11, Daniel Campos wrote: > May be a "[12]_Not_an_object_error_gambas at lists.sourceforge.net"? :-))) > That's to long to count <[ :-=0) Ron From listes.godard at ...11... Mon Mar 8 21:44:53 2004 From: listes.godard at ...11... (Laurent Godard) Date: Mon, 08 Mar 2004 21:44:53 +0100 Subject: [Gambas-user] Beginner questions In-Reply-To: <1078778205.2999.21.camel@...40...> References: <404CCAD0.6070606@...11...> <1078776612.2999.6.camel@...40...> <404CD501.90202@...11...> <1078778205.2999.21.camel@...40...> Message-ID: <404CDB45.9030005@...11...> Hi Daniel, > > mmmh... May be Rob can reply better than me, but I think the rpm > provides just the gambas program, yo you need already the rest of > the gambas stuff... yes i'll try to follow the thread and take care > > You can compare this with VB, you don't need the complete VB installed, > but you need msbvmXX.dll, vb.dll, DCOM, etc, if you want a really small > package you should test what you need: at least libgambas.so , gbx > ,(gbi?, gbc?), the info files, etc... may be you'd prefer just to > install gambas (I think soon, there will be packages for > a lot of distributions) yes i understand the principle :) >>> >> >>No QT is IIRC as expensibve as ms tools under windows >>I thought , probably wrong, that the QT using as free only implied to >>release sources as GPL. Am I wrong ? > > > If you release a "Gambas-QT" program under GPL or LGPL, you have to pay > nothing to Trolltech, however, if you do not want a free license for > your program, you've to pay the commercial license > That is what i intend to do I always ask my clients for releasing sources as LGPL or GPL All the the develoment i do for OpenOffice.org are given as LGPL I'm only paid for devlopping, creating not to have royalties on a program > > > Yes, I'm interested in that, may be that will be one of my next steps, > however first I have to finish the 'net.curl' component, and I'm so busy > these weeks!, however you will receive news from me in the next months, > sure! Good luck for your current project feel free to contact me whenever you need for OpenOffice.org Thanks Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From ronstk at ...239... Mon Mar 8 22:06:21 2004 From: ronstk at ...239... (ron) Date: Mon, 8 Mar 2004 22:06:21 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403082111.27612.jholm@...381...> References: <20040304230335.M45710@...381...> <200403081859.37291.ronstk@...239...> <200403082111.27612.jholm@...381...> Message-ID: <200403082206.21776.ronstk@...239...> On Monday 08 March 2004 21:11, Jesper Holm wrote: > On Monday 08 March 2004 18:59, ron wrote: 8< snipy snop >8 > Thanks Ron, The problem is that the source when compiled "from scratch" so > to speak, segfaults in the 4th gbi file. All Gentoo did was to comment out > the generation of .info files in the Makefile. > > I don't know whaht these .info files contain, do or if they are vital, but > the program crashes without them being installed. with "[12] ..." error. > The main part is the help browser depends on it for the 'info' > > This is _exactly_ what happens in the "make install" part, it builds to > .info files write a third of zero length segfaults and then due to > recursion i guess the parallel make segfaults to and the install process is > aborted. > > It succeeds on the gb.net.info and gb.qt.ext.info files, but segfualts on > gb.qt.kde.html.info yielding a filesize of 292 bytes. But gb.sdl.info is > written as well with zero-length thiugh. > About the gb.qt.kde and gb.qt.kde.html, the developer by gentoo has responded. He try to fix a problem but didn't well sofar. Not only the .info had to be removed but the compile of the whole kde part had to be blocked/disabled. Unknow why gentoo had problems but you can always download the orginal source package and try if that will suceed. I beleave there was alread one who had done it with succes on gentoo. On the website is also an instruction how to do. Realy that is not a big problem, until unexpected errors occur (as I once had with curl :=( ). You need at least libSDL, Qt 3.1 or higher and curl 7.10.6 or higher and this is already ok with you. The sdl error is strange , no idea why that happens. > Is the problem in the qt libraries? khtml, maybe? I hate to reconpile KDE, > but, well it has been a while :-) It wonder me that is needed. Only if your current KDE depends on an old QT version. > > > Jesper > Ron From genone at ...89... Mon Mar 8 22:31:17 2004 From: genone at ...89... (Marius Mauch) Date: Mon, 8 Mar 2004 22:31:17 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403082206.21776.ronstk@...239...> References: <20040304230335.M45710@...381...> <200403081859.37291.ronstk@...239...> <200403082111.27612.jholm@...381...> <200403082206.21776.ronstk@...239...> Message-ID: <20040308223117.4010138c@...388...> On 03/08/04 ron wrote: > About the gb.qt.kde and gb.qt.kde.html, the developer by gentoo has > responded. He try to fix a problem but didn't well sofar. Not only the > .info had to be removed but the compile of the whole kde part had to > be blocked/disabled. Well, gambas-0.90 doesn't start here anymore when compiled with --disable-kde, it errors out with "QPaintDevice: Must construct a QApplication before a QPaintDevice" Marius Gentoo Linux Developer -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040308/013a4312/attachment.sig> From ronstk at ...239... Mon Mar 8 23:02:17 2004 From: ronstk at ...239... (ron) Date: Mon, 8 Mar 2004 23:02:17 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <20040308223117.4010138c@...388...> References: <20040304230335.M45710@...381...> <200403082206.21776.ronstk@...239...> <20040308223117.4010138c@...388...> Message-ID: <200403082302.17740.ronstk@...239...> On Monday 08 March 2004 22:31, Marius Mauch wrote: > On 03/08/04 ron wrote: > > About the gb.qt.kde and gb.qt.kde.html, the developer by gentoo has > > responded. He try to fix a problem but didn't well sofar. Not only the > > .info had to be removed but the compile of the whole kde part had to > > be blocked/disabled. > > Well, gambas-0.90 doesn't start here anymore when compiled with > --disable-kde, it errors out with > "QPaintDevice: Must construct a QApplication before a QPaintDevice" > > Marius > > Gentoo Linux Developer Hello Marius That sound not nice. If that happens now then the question is what version did you release, that one was fixed so it didn't else you had it not released. Or you did a fix in a hurry and didn't check the result? Bad luck. :( For the 0.90 with --disable-kde the kde component is normal disabled as Benoit will tell you. Did you carefull look to the error? "QPaintDevice: Must construct a QApplication before a QPaintDevice" I have also sometimes problems with interpreting i must confess. Here I beleave that is a error from QT and not KDE. The problems you found has something to do with QT i think. The version maybe? Gambas wishes QT 3.1 or higher. Happy debugging with a fresh meal of gambas :) Ron From sourceforge-raindog2 at ...94... Mon Mar 8 22:25:33 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 8 Mar 2004 16:25:33 -0500 Subject: [Gambas-user] Beginner questions In-Reply-To: <404CD501.90202@...11...> References: <404CCAD0.6070606@...11...> <1078776612.2999.6.camel@...40...> <404CD501.90202@...11...> Message-ID: <200403081625.33665.sourceforge-raindog2@...94...> On Monday 08 March 2004 15:18, Laurent Godard wrote: > i saw that there were a projetc on doing rpms > would this avoid installing gambas ? No, the RPM's I generate include gambas as a Requires:, meaning urpmi (under mandrake) or apt/yum (under redhat) will automatically install the needed parts of gambas when you install an RPM generated by my patch. In the future I hope there will be a way to build Gambas and its libraries statically into one big app, but considering that the necessary parts of Gambas are far smaller than the vbrun*.dll you need for VB apps, I think that would be more useful for embedded platforms than normal desktop systems. > No QT is IIRC as expensibve as ms tools under windows > I thought , probably wrong, that the QT using as free only > implied to release sources as GPL. Am I wrong ? That's right, they won't let you apply the commercial license to any code developed under Qt/Free even if you've paid for a commercial license. They do this to prevent commercial shops from buying one license and having all their other developers use Qt/Free on non-GPL software. You can also license your Qt projects under the QPL, which is more restrictive than the GPL, but that is GPL-incompatible so you couldn't use QPL'ed libraries with GPL'ed Gambas without a specific exemption in Gambas' copy of the GPL. I am not a lawyer, but I've spent lots of time looking at these issues since my current business involves writing a lot of GPL but commercial software ;) Rob From shankarkrupa at ...251... Tue Mar 9 06:51:34 2004 From: shankarkrupa at ...251... (S Krupa Shankar) Date: 9 Mar 2004 05:51:34 -0000 Subject: [Gambas-user] Newbie - gambas startup error-please, please, please help....! Message-ID: <20040309055134.25920.qmail@...379...> An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040309/72614e71/attachment.html> -------------- next part -------------- > From: Rob <sourceforge-raindog2 at ...94...> wrote: >Unfortunately, Mandrake 9.0 uses Qt 3.0. You need Qt 3.1 to >build recent versions of Gambas... the most recent version you >can build is probably newer than what's on my site (I stopped >building them when I got rid of my last Mandrake 9.0 box) but >you will almost certainly not be able to get Gambas 0.8x or 0.90 >working on Mandrake 9.0. >I would normally be a little upset about this, but Mandrake 9.0 >is three versions out of date now. ; hee, hee, hee...I am now upset...;-) Okay...so what should I do now. (Of course, other than re-installing the entire OS again-I could not install anything more with my PII, 233, 96 MB, p;d Sisco graphics card-everything else hangs during the installation procedure itself). Maybe could I update just QT to 3.1 with a Mandrake 9.1/9.2 CD? Will it be possible? Oh please, if I ever go to Heaven of course I will reserve a place for you, too. ;-) Please suggest to get Gambas up and running. krupa From gambas at ...1... Tue Mar 9 08:37:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 9 Mar 2004 08:37:42 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403082302.17740.ronstk@...239...> References: <20040304230335.M45710@...381...> <20040308223117.4010138c@...388...> <200403082302.17740.ronstk@...239...> Message-ID: <200403090837.42492.gambas@...1...> On Monday 08 March 2004 23:02, ron wrote: > On Monday 08 March 2004 22:31, Marius Mauch wrote: > > On 03/08/04 ron wrote: > > > About the gb.qt.kde and gb.qt.kde.html, the developer by gentoo has > > > responded. He try to fix a problem but didn't well sofar. Not only the > > > .info had to be removed but the compile of the whole kde part had to > > > be blocked/disabled. > > > > Well, gambas-0.90 doesn't start here anymore when compiled with > > --disable-kde, it errors out with > > "QPaintDevice: Must construct a QApplication before a QPaintDevice" > > > > Marius > > > > Gentoo Linux Developer > > Hello Marius > > That sound not nice. If that happens now then the question is what version > did you release, that one was fixed so it didn't else you had it not > released. Or you did a fix in a hurry and didn't check the result? Bad > luck. :( > > For the 0.90 with --disable-kde the kde component is normal disabled as > Benoit will tell you. Did you carefull look to the error? > "QPaintDevice: Must construct a QApplication before a QPaintDevice" > > I have also sometimes problems with interpreting i must confess. > Here I beleave that is a error from QT and not KDE. > The problems you found has something to do with QT i think. > The version maybe? Gambas wishes QT 3.1 or higher. > > Happy debugging with a fresh meal of gambas :) > > Ron > Now the Gambas IDE uses the KDE component - This component is not required, I added it just to test it in real case. You can remove it safely - but the problem remains: why gbi crashes when loading KDE shared libraries ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Mar 9 08:39:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 9 Mar 2004 08:39:41 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. In-Reply-To: <200403082130.35903.jholm@...381...> References: <20040304230335.M45710@...381...> <20040308205111.07e91279@...388...> <200403082130.35903.jholm@...381...> Message-ID: <200403090839.41297.gambas@...1...> On Monday 08 March 2004 21:30, Jesper Holm wrote: > On Monday 08 March 2004 20:51, Marius Mauch wrote: > > On 03/08/04 ron wrote: > > > You must be root to launch 'gbi -a', as this program will write the > > > info files in the /opt/gambas/lib/info directory. > > > > > > The -a options tells gbi to make all info files. > > > > > > This should work. Only if one of the compiled libraries has an error > > > you get a segfault. look witch are done and saved in > > > /opt/gambas/lib/info and wich are not done. When al is ok you should > > > have these files > > > > > > gb.db.info <==== these not while postGRE and MySQL are disabled > > > gb.eval.info > > > gb.info > > > gb.net.info > > > gb.qt.editor.info > > > gb.qt.ext.info > > > gb.qt.info > > > gb.qt.kde.html.info > > > gb.qt.kde.info > > > gb.sdl.info > > > gb.vb.info > > > > > > For the missing you can use gbi with the above name without the .info > > > at the end. The bad one will return the segfault. > > > > The problematic ones are gb.qt.kde and gb.qt.kde.html, I "fixed" this in > > the ebuild for 0.90-r1 by removing the relevant .component files. > > > > Marius > > > > Gentoo Linux Developer > > Hello Marius, > > I guess that kind of solved the .info question, and when they are removed > from the ebuild they aren't a vital part for using Gambas I assume. > > But have you any idea why I receive all the "Not an object error" errors?? > > I have tried with default compilation options "make" & "make install" but > with the gbi -a commented out in the Makefile. > > Have I compiled KDE with too aggressive Optimization paramters: "-O3 -Pipe > -fomit-frame-pointer -march=pentium3" ?? (runs on centrino) > > > Jesper > I do not trust -O3. For example, I can't compile the gambas compiler with -O3 at the moment (gcc 3.1) because the generated code is false, and the executable segfaults. -- Benoit Minisini mailto:gambas at ...1... From frankberg at ...390... Tue Mar 9 18:39:39 2004 From: frankberg at ...390... (Frank Berg) Date: Tue, 9 Mar 2004 18:39:39 +0100 Subject: [Gambas-user] German IDE Message-ID: <002801c405fd$8064f020$0200a8c0@...391...> hi, how can i activate the german translation for the menus in the gambas IDE Thanks frank -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040309/8f25b298/attachment.html> From daniel.campos at ...338... Tue Mar 9 18:53:41 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Tue, 09 Mar 2004 18:53:41 +0100 Subject: [Gambas-user] Newbie - gambas startup error-please, please, please help....! In-Reply-To: <20040309055134.25920.qmail@...379...> References: <20040309055134.25920.qmail@...379...> Message-ID: <1078854821.2996.5.camel@...40...> El mar, 09-03-2004 a las 06:51, S Krupa Shankar escribi?: > > From: Rob <sourceforge-raindog2 at ...94...> wrote: > > >Unfortunately, Mandrake 9.0 uses Qt 3.0. You need Qt 3.1 to > >build recent versions of Gambas... the most recent version you > >can build is probably newer than what's on my site (I stopped > >building them when I got rid of my last Mandrake 9.0 box) but > >you will almost certainly not be able to get Gambas 0.8x or 0.90 > >working on Mandrake 9.0. > > > >I would normally be a little upset about this, but Mandrake 9.0 > >is three versions out of date now. ; > > hee, hee, hee...I am now upset...;-) > > Okay...so what should I do now. (Of course, other than re-installing the entire OS again-I could not install anything more with my PII, 233, 96 MB, p;d Sisco graphics card-everything else hangs during the installation procedure itself). Maybe could I update just QT to 3.1 with a Mandrake 9.1/9.2 CD? Will it be possible? > > > Oh please, if I ever go to Heaven of course I will reserve a place for you, too. ;-) Please suggest to get Gambas up and running. > > Well, I've updated from Mandrke 9.2 to Mandrake 10.0 just using "urpmi", may be you can update you 9.0 to 9.2, using "urpmi", and the easy-urpmi tool provided at http://www.urpmi.org/easyurpmi/index.php , where you can find a 9.2 mirror and start updating all the system. If you want to update QT, you'll need to update all KDE desktop, for me it was easy as I use ADSL, may be if you use a modem can take some days... If you have a 9.2 CD you could add that CD to your update sources using Mandrake Control Center, and update from CD instead of internet (it uses to be faster:) But, be prepared to use just console in text mode, as these updates not always perform a nice job! Regards, Daniel Campos > krupa From sourceforge-raindog2 at ...94... Tue Mar 9 20:33:12 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 9 Mar 2004 14:33:12 -0500 Subject: [Gambas-user] Newbie - gambas startup error-please, please, please help....! In-Reply-To: <1078854821.2996.5.camel@...40...> References: <20040309055134.25920.qmail@...379...> <1078854821.2996.5.camel@...40...> Message-ID: <200403091433.13158.sourceforge-raindog2@...94...> On Tuesday 09 March 2004 12:53, Daniel Campos wrote: > > Okay...so what should I do now. (Of course, other than > > re-installing the entire OS again-I could not install > Well, I've updated from Mandrke 9.2 to Mandrake 10.0 just > using "urpmi", may be you can update you 9.0 to 9.2, using > "urpmi", and the easy-urpmi tool provided at > http://www.urpmi.org/easyurpmi/index.php , where you can find > a 9.2 mirror and start updating all the system. If you want to > update QT, you'll need to update all KDE desktop, for me it Actually, now that I think of it, I think Texstar made KDE 3.1 RPMs for Mandrake 9.0, though I dunno if they're still out there. Rob From frankberg at ...390... Tue Mar 9 22:04:09 2004 From: frankberg at ...390... (Frank Berg) Date: Tue, 9 Mar 2004 22:04:09 +0100 Subject: [Gambas-user] German IDE Message-ID: <001401c4061a$1182fd10$0200a8c0@...391...> Hi, i use the SUSE 9.0 with the kommand: env | grep -i de the output are LANG=DE LANGUAGE=DE but the gambas IDE is in english whats wrong? frank -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040309/0f6489b3/attachment.html> From gambas at ...1... Tue Mar 9 22:01:55 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 9 Mar 2004 22:01:55 +0100 Subject: [Gambas-user] Zlib and BZlib In-Reply-To: <1077475336.2808.11.camel@...40...> References: <1077475336.2808.11.camel@...40...> Message-ID: <200403092201.55695.gambas@...1...> On Sunday 22 February 2004 19:42, Daniel Campos wrote: > Hi all! > > These are the final versions of Zlib and BZLib components, > that allows to compress data using zlib and bzlib2 libraries. > > I've implemented the bzlib component today, and made some changes > in zlib component. > > Their interfaces are quite similar, however there are some differences: > > ZEngine has two methods to compress strings directly : > > 'DeflateString' and 'InflateString', that uses an algorithm a little > different from Gzip one. > > BZEngine provides: > > 'BzipString'and 'BuzipString' which works exatly using the same bzip2 > format. > > This is due to the capabilities of both libraries. > > To compile these libraries: > > 0) You need gambas-0.84 or newer > 1) Copy both 'zlib' and 'bzlib' folders to {gambas sources}/src/lib > 2) Copy the attached configure.in to {gambas sources} instead of the > original configure.in > 3) Type : ./reconf > 4) Type : ./configure (with your options) > 5) Go to {gambas sources}/src/lib/zlib, then 'make' and 'make install' > 6) Go to {gambas sources}/src/lib/bzlib, then 'make' and 'make install' > 7) OK, done > > Regards, Hi, Daniel, Sorry for my late answer, I'm very busy these days... I want to include the compression libraries in Gambas, but... :-) I saw that BZEngine and ZEngine have actually the same interface, even if the method names are not exactly the same. Maybe things can be unified there... I suggest the following... Be careful ;-) 1) Create a component named gb.compress with two classes: Compress and Uncompress. With the following methods: Compress.File: compress a file Compress.String: compress a string Uncompress.File: uncompress a file Uncompress.String: uncompress a string Compress.Open: creates a stream. Possibly a Compress.Type (a string) for the default library to use with the previous functions... And all the constants of course. This component creates an internal interface named GB_COMPRESS_1 with a gb.compress.h header. This interface allow registering drivers. Look in the database component, it is exactly the same design. 2) Create two driver components, gb.compress.zlib and gb.compress.bzlib that register drivers allowing Compress and Uncompress methods to call the real functions. I will modify the GB_STREAM declaration in gambas.h so that there is a place in the structure for a private pointer. This way, your bzstream_ADD and bzstream_FIND will become useless. Actually, there IS a place, I stupidely forgot to declare it (all the structure except the two first longs). Waiting for your comments, Best regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Mar 9 22:10:34 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 9 Mar 2004 22:10:34 +0100 Subject: [Gambas-user] German IDE In-Reply-To: <001401c4061a$1182fd10$0200a8c0@...391...> References: <001401c4061a$1182fd10$0200a8c0@...391...> Message-ID: <200403092210.34163.gambas@...1...> On Tuesday 09 March 2004 22:04, Frank Berg wrote: > Hi, > > i use the SUSE 9.0 > > with the kommand: > > env | grep -i de > > the output are > > LANG=DE > LANGUAGE=DE > > > but the gambas IDE is in english > > whats wrong? > > frank Strange. It seems that languages must be in lower case. If you do: $ LANG=de LANGUAGE=de gbx You will have everything in german. Logically, the language must be in lower case, and the country in uppercase. I will try to find a fix for that. Regards, -- Benoit Minisini mailto:gambas at ...1... From frankberg at ...390... Wed Mar 10 09:07:57 2004 From: frankberg at ...390... (Frank Berg) Date: Wed, 10 Mar 2004 09:07:57 +0100 Subject: [Gambas-user] German IDE: Problem solved Message-ID: <000b01c40676$ccd97f10$0200a8c0@...391...> hi, you wrote me, the eviroment must be in lowercase i was also create an new profile.local and add the lines below LANG=de export LANG LANGUAGE=de export LANGUAGE with commando: env | grep -i de now i can see LANG=de LANGUAGE=de LC_LANG=de_DE at ...33... but it was still the same, gambas are not in german. english as home-user, english as root __________ my workaround _______________ by starting an new console is appears an error locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory so i was reading in google.. is an bug?? an future?? after writing in /etc/profile.local (create it new) LANG=de export LANG LANGUAGE=de export LANGUAGE LC_ALL=de_DE export LC_ALL now is all fine, gambas is in german language _________________ my console outputs _______________ with commando #> env | grep -i de LANG=de LANGUAGE=de LC_ALL=de_DE at ...33... LC_CTYPE=de_DE at ...33... with commando #>locale -a C de_DE de_DE at ...33... de_DE.utf8 POSIX with commando #>locale LANG=de LC_CTYPE="de_DE at ...33..." LC_NUMERIC="de_DE at ...33..." LC_TIME="de_DE at ...33..." LC_COLLATE="de_DE at ...33..." LC_MONETARY="de_DE at ...33..." LC_MESSAGES="de_DE at ...33..." LC_PAPER="de_DE at ...33..." LC_NAME="de_DE at ...33..." LC_ADDRESS="de_DE at ...33..." LC_TELEPHONE="de_DE at ...33..." LC_MEASUREMENT="de_DE at ...33..." LC_IDENTIFICATION="de_DE at ...33..." LC_ALL=de_DE at ...33... From ronstk at ...239... Wed Mar 10 15:14:48 2004 From: ronstk at ...239... (ron) Date: Wed, 10 Mar 2004 15:14:48 +0100 Subject: [Gambas-user] Bugs: Help Browser + GDM + Net In-Reply-To: <200402290053.18689.ronstk@...239...> References: <200402260914.01370.ronstk@...239...> <200402261815.39537.ronstk@...239...> <200402290053.18689.ronstk@...239...> Message-ID: <200403101514.49085.ronstk@...239...> On Sunday 29 February 2004 00:53, ron wrote: > On Thursday 26 February 2004 18:15, ron wrote: > > > > Click on OK and Gambas exit total. > > > > ------------------------- > > > > GDM > > > > Open the tree > > > > In the tree right-click on a database icon and select Refresh in > > > > context menu A blue bar or dotted at the moment of clicking. > > > > > > > > [13] Null Object > > > > At: FMain.RefreshTable.222 > > > > Click on OK and GambasDM exit . > > > > I can't figure it out how to solve this now. > > > > > > I couldn't reproduce it. Could you give me more details ? > > > > I wil later this evening try to check exact how to reproduce it. > > I'm at work now. Website programming. > > It did take some time but I can reproduce it. > Hello Benoit, Could you reproduce it? I wish to know if it is something wrong here or in GDM. It is not a fatal error but more inconvience to have it. Ron From frankberg at ...390... Wed Mar 10 17:15:15 2004 From: frankberg at ...390... (Frank Berg) Date: Wed, 10 Mar 2004 17:15:15 +0100 Subject: [Gambas-user] printing Message-ID: <002801c406ba$e03463b0$0200a8c0@...391...> hi, now i am beginning to learn gambas with the examples, and is good to read on paper but in the gambas ide i can not print the classes.. mark all, copy, start open office, insert, print... mmmhhh.. maybe an good idee to insert an print option in the gambas IDE??? (or as first step in the class editor??) frank -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040310/81165dc7/attachment.html> From sourceforge-raindog2 at ...94... Wed Mar 10 17:53:53 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 10 Mar 2004 11:53:53 -0500 Subject: [Gambas-user] printing In-Reply-To: <002801c406ba$e03463b0$0200a8c0@...391...> References: <002801c406ba$e03463b0$0200a8c0@...391...> Message-ID: <200403101153.53958.sourceforge-raindog2@...94...> On Wednesday 10 March 2004 11:15, Frank Berg wrote: > maybe an good idee to insert an print option in the gambas > IDE??? Unless someone else writes this first, I'll try to do this in the next few days and submit a patch. I'd been meaning to add that to the help browser as well. Rob From gambas at ...1... Wed Mar 10 20:36:44 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 10 Mar 2004 20:36:44 +0100 Subject: [Gambas-user] Bugs: Help Browser + GDM + Net In-Reply-To: <200403101514.49085.ronstk@...239...> References: <200402260914.01370.ronstk@...239...> <200402290053.18689.ronstk@...239...> <200403101514.49085.ronstk@...239...> Message-ID: <200403102036.44071.gambas@...1...> On Wednesday 10 March 2004 15:14, ron wrote: > > Hello Benoit, > > Could you reproduce it? > I wish to know if it is something wrong here or in GDM. > It is not a fatal error but more inconvience to have it. > > Ron > I couldn't. But your explanations are not very clear :-) Maybe you could you make screenshots... Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Wed Mar 10 21:25:56 2004 From: ronstk at ...239... (ron) Date: Wed, 10 Mar 2004 21:25:56 +0100 Subject: [Gambas-user] Bugs: Help Browser + GDM + Net In-Reply-To: <200403102036.44071.gambas@...1...> References: <200402260914.01370.ronstk@...239...> <200403101514.49085.ronstk@...239...> <200403102036.44071.gambas@...1...> Message-ID: <200403102125.57300.ronstk@...239...> On Wednesday 10 March 2004 20:36, Benoit Minisini wrote: > On Wednesday 10 March 2004 15:14, ron wrote: > > Hello Benoit, > > > > Could you reproduce it? > > I wish to know if it is something wrong here or in GDM. > > It is not a fatal error but more inconvience to have it. > > > > Ron > > I couldn't. But your explanations are not very clear :-) > Maybe you could you make screenshots... > > Regards, After opening the GDM snap1 clicked on the + at localhost snap2 RM button clicked on the test db snap3 select the Refresh snap4 click at refresh entry snap5 If you first click on the + of the database it wil be an open database, closing the node and with right mouse button selecting the Refresh goes good. After a refresh anywhere all databases are closed. You can't refresh a database only. The menu shows the database operations but the refresh is for the server. May be it does even all servers and closing all databases. Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: snap1.png Type: image/png Size: 6796 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040310/40026d2b/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snap2.png Type: image/png Size: 9296 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040310/40026d2b/attachment-0001.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snap3.png Type: image/png Size: 12840 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040310/40026d2b/attachment-0002.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snap4.png Type: image/png Size: 3145 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040310/40026d2b/attachment-0003.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snap5.png Type: image/png Size: 14662 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040310/40026d2b/attachment-0004.png> From gambas at ...1... Wed Mar 10 21:56:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 10 Mar 2004 21:56:53 +0100 Subject: [Gambas-user] Bugs: Help Browser + GDM + Net In-Reply-To: <200403102125.57300.ronstk@...239...> References: <200402260914.01370.ronstk@...239...> <200403102036.44071.gambas@...1...> <200403102125.57300.ronstk@...239...> Message-ID: <200403102156.53520.gambas@...1...> On Wednesday 10 March 2004 21:25, ron wrote: > > After opening the GDM snap1 > clicked on the + at localhost snap2 > RM button clicked on the test db snap3 > select the Refresh snap4 > click at refresh entry snap5 > > If you first click on the + of the database it wil be an open > database, closing the node and with right mouse button > selecting the Refresh goes good. > > After a refresh anywhere all databases are closed. > You can't refresh a database only. > The menu shows the database operations but the refresh is > for the server. > May be it does even all servers and closing all databases. > > Ron OK, got it! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Mar 10 22:41:21 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 10 Mar 2004 22:41:21 +0100 Subject: [Gambas-user] Bugs: Help Browser + GDM + Net In-Reply-To: <200403102156.53520.gambas@...1...> References: <200402260914.01370.ronstk@...239...> <200403102125.57300.ronstk@...239...> <200403102156.53520.gambas@...1...> Message-ID: <200403102241.21497.gambas@...1...> On Wednesday 10 March 2004 21:56, Benoit Minisini wrote: > On Wednesday 10 March 2004 21:25, ron wrote: > > After opening the GDM snap1 > > clicked on the + at localhost snap2 > > RM button clicked on the test db snap3 > > select the Refresh snap4 > > click at refresh entry snap5 > > > > If you first click on the + of the database it wil be an open > > database, closing the node and with right mouse button > > selecting the Refresh goes good. > > > > After a refresh anywhere all databases are closed. > > You can't refresh a database only. > > The menu shows the database operations but the refresh is > > for the server. > > May be it does even all servers and closing all databases. > > > > Ron > > OK, got it! ...and fixed. The refresh menu entry is not visible anymore when the database is not expanded. -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Wed Mar 10 22:55:46 2004 From: ronstk at ...239... (ron) Date: Wed, 10 Mar 2004 22:55:46 +0100 Subject: [Gambas-user] Bugs: Help Browser + GDM + Net In-Reply-To: <200403102241.21497.gambas@...1...> References: <200402260914.01370.ronstk@...239...> <200403102156.53520.gambas@...1...> <200403102241.21497.gambas@...1...> Message-ID: <200403102255.46345.ronstk@...239...> On Wednesday 10 March 2004 22:41, Benoit Minisini wrote: > On Wednesday 10 March 2004 21:56, Benoit Minisini wrote: > > On Wednesday 10 March 2004 21:25, ron wrote: > > > After opening the GDM snap1 > > > clicked on the + at localhost snap2 > > > RM button clicked on the test db snap3 > > > select the Refresh snap4 > > > click at refresh entry snap5 > > > > > > If you first click on the + of the database it wil be an open > > > database, closing the node and with right mouse button > > > selecting the Refresh goes good. > > > > > > After a refresh anywhere all databases are closed. > > > You can't refresh a database only. > > > The menu shows the database operations but the refresh is > > > for the server. > > > May be it does even all servers and closing all databases. > > > > > > Ron > > > > OK, got it! > > ...and fixed. The refresh menu entry is not visible anymore when the > database is not expanded. Beautiful, but what about refreshing close all db's? I can use refresh on database 'test' but all the others are closed. But alas, it is still a handy tool. Ron From danielcampos at ...282... Thu Mar 11 15:04:07 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 11 Mar 2004 15:04:07 CET Subject: [Gambas-user] Against the war Message-ID: <mnet1.1079013847.9258.danielcampos@...282...> This is a different message: As you probably know, one of the more horrible terrorist attacks have happened today at Madrid, Spain. One of the trains was just the train I used to take to go to my work, before I started using the bus. Me, as all the people killed today, we are innocent people, that just want to work and to live in peace. There's not any valid reason to steal the live of a innocent person. This is just a cry for peace and freedom. No more war, no more suffering, it is enough. Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From danielcampos at ...282... Thu Mar 11 15:04:07 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 11 Mar 2004 15:04:07 CET Subject: [Gambas-user] Against the war Message-ID: <mnet1.1079013847.9258.danielcampos@...282...> This is a different message: As you probably know, one of the more horrible terrorist attacks have happened today at Madrid, Spain. One of the trains was just the train I used to take to go to my work, before I started using the bus. Me, as all the people killed today, we are innocent people, that just want to work and to live in peace. There's not any valid reason to steal the live of a innocent person. This is just a cry for peace and freedom. No more war, no more suffering, it is enough. Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From oxleyd at ...364... Thu Mar 11 15:55:11 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 11 Mar 2004 15:55:11 +0100 Subject: [Gambas-user] Against the war In-Reply-To: <mnet1.1079013847.9258.danielcampos@...282...> Message-ID: <200403111337.i2BDbYII024837@...364...> I also live in Madrid and what has happened is shocking. I grew up in the UK where threats from the IRA were real and frequent. Eventually they stopped the killing though. When I moved to Madrid I didn't expect this sort of thing to happen. And then when it does it all comes back to you. Memories of the pointlessness of the whole killing thing that terrorists do. -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of danielcampos at ...282... Sent: Thursday, March 11, 2004 16:04 PM To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] Against the war This is a different message: As you probably know, one of the more horrible terrorist attacks have happened today at Madrid, Spain. One of the trains was just the train I used to take to go to my work, before I started using the bus. Me, as all the people killed today, we are innocent people, that just want to work and to live in peace. There's not any valid reason to steal the live of a innocent person. This is just a cry for peace and freedom. No more war, no more suffering, it is enough. Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op?k _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From ronan at ...384... Thu Mar 11 16:59:17 2004 From: ronan at ...384... (Ronan Chilvers) Date: Thu, 11 Mar 2004 15:59:17 +0000 Subject: [Gambas-user] Against the war In-Reply-To: <mnet1.1079013847.9258.danielcampos@...282...> References: <mnet1.1079013847.9258.danielcampos@...282...> Message-ID: <20040311155917.0e8c12ec@...385...> Hi Daniel On Thu, 11 Mar 2004 15:04:07 CET danielcampos at ...282... wrote: > This is a different message: > > As you probably know, one of the more horrible terrorist attacks have happened today at Madrid, Spain. One of the trains was just the train I used to take to go to my work, before I started using the bus. Me, as all the people killed today, we are innocent people, that just want to work and to live in peace. > > There's not any valid reason to steal the live of a innocent person. > > This is just a cry for peace and freedom. > > No more war, no more suffering, it is enough. > My sympathies to you and everyone there. Sadly we have 'progressed' to a point as a global society where a few rule the many. Global democracy is so badly crippled that people do not have an effective voice or are so disillusioned that they don't use the voice they have. I'm not USA bashing here, but when the most powerful country in the world can detain people, without trial, without public justification, without consultation, not to mention going to war without international or electorate approval on a trumped up charge (and yes the UK is guilty there too), then we are in dark days indeed. Part of the reason I think Linux and projects such as Gambas are important is because they are about the common good. Good tools for all, for free, supported by everyone. Why not approach international politics similarly? Communication is the key to starting to solve terrorism, NOT building bloody great walls across the country (Israel) or bombing the hell out of each other. Enough. Back to the excellent Gambas... Ronan -- e: ronan at ...384... t: 01903 739 997 w: www.thelittledot.com The Little Dot is a partnership of Ronan Chilvers and Giles Webberley From sourceforge-raindog2 at ...94... Thu Mar 11 17:15:39 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 11 Mar 2004 11:15:39 -0500 Subject: [Gambas-user] Against the war In-Reply-To: <20040311155917.0e8c12ec@...385...> References: <mnet1.1079013847.9258.danielcampos@...282...> <20040311155917.0e8c12ec@...385...> Message-ID: <200403111115.39512.sourceforge-raindog2@...94...> On Thursday 11 March 2004 10:59, Ronan Chilvers wrote: > Part of the reason I think Linux and projects such as Gambas > are important is because they are about the common good. Good > tools for all, for free, supported by everyone. Why not > approach international politics similarly? Communication is I agree, I've had far more contact (real contact, not "telephone operator with a fake American accent" contact) with people from the rest of the world since I got involved with free software than I had in my entire life previous to that. It forces you to treat people in other countries as real people, as opposed to "furriners" as a lot of the people in my country say. And being exposed to world perspectives makes me realize how limited the view from here would be without the net and (for me) without free software. Rob From girardhenri at ...67... Thu Mar 11 17:45:01 2004 From: girardhenri at ...67... (Henri Girard) Date: Thu, 11 Mar 2004 17:45:01 +0100 Subject: [Gambas-user] Against the war References: <mnet1.1079013847.9258.danielcampos@...282...> <20040311155917.0e8c12ec@...385...> <200403111115.39512.sourceforge-raindog2@...94...> Message-ID: <BAY8-DAV35xGy70HvHa00023976@...67...> Yes that's one of the way of becoming a better world ... But not war !!! who kills innocents people !! ----- Original Message ----- From: "Rob" <sourceforge-raindog2 at ...94...> To: <gambas-user at lists.sourceforge.net> Sent: Thursday, March 11, 2004 5:15 PM Subject: Re: [Gambas-user] Against the war > On Thursday 11 March 2004 10:59, Ronan Chilvers wrote: > > Part of the reason I think Linux and projects such as Gambas > > are important is because they are about the common good. Good > > tools for all, for free, supported by everyone. Why not > > approach international politics similarly? Communication is > > I agree, I've had far more contact (real contact, not "telephone > operator with a fake American accent" contact) with people from > the rest of the world since I got involved with free software > than I had in my entire life previous to that. It forces you to > treat people in other countries as real people, as opposed to > "furriners" as a lot of the people in my country say. And being > exposed to world perspectives makes me realize how limited the > view from here would be without the net and (for me) without > free software. > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From girardhenri at ...67... Thu Mar 11 17:51:12 2004 From: girardhenri at ...67... (Henri Girard) Date: Thu, 11 Mar 2004 17:51:12 +0100 Subject: [Gambas-user] Against the war References: <mnet1.1079013847.9258.danielcampos@...282...> <20040311155917.0e8c12ec@...385...> Message-ID: <BAY8-DAV225TRawAKls00023a7a@...67...> The reason why not political do that "two" : Bad and good ... And Capitalism though it changed name is always the same : mamom, capitaliste, kingdom... democracy with capitalism power... Like Europeans leaded by france And so on... Last year is France 30000 old people died : REason invocaded .. Big heat !!! Every body knows that's not the only reason... Defective assistance was one !!! usuless policies.. and so on ! Well... Just to show you we aren't in a good situation everywhere :) My action against it : Godlove.... And I respect every body 's opinions... HG ----- Original Message ----- From: "Ronan Chilvers" <ronan at ...384...> To: <gambas-user at lists.sourceforge.net> Sent: Thursday, March 11, 2004 4:59 PM Subject: Re: [Gambas-user] Against the war > Hi Daniel > > On Thu, 11 Mar 2004 15:04:07 CET > danielcampos at ...282... wrote: > > > This is a different message: > > > > As you probably know, one of the more horrible terrorist attacks have happened today at Madrid, Spain. One of the trains was just the train I used to take to go to my work, before I started using the bus. Me, as all the people killed today, we are innocent people, that just want to work and to live in peace. > > > > There's not any valid reason to steal the live of a innocent person. > > > > This is just a cry for peace and freedom. > > > > No more war, no more suffering, it is enough. > > > > My sympathies to you and everyone there. Sadly we have 'progressed' to a point as a global society where a few rule the many. Global democracy is so badly crippled that people do not have an effective voice or are so disillusioned that they don't use the voice they have. I'm not USA bashing here, but when the most powerful country in the world can detain people, without trial, without public justification, without consultation, not to mention going to war without international or electorate approval on a trumped up charge (and yes the UK is guilty there too), then we are in dark days indeed. > > Part of the reason I think Linux and projects such as Gambas are important is because they are about the common good. Good tools for all, for free, supported by everyone. Why not approach international politics similarly? Communication is the key to starting to solve terrorism, NOT building bloody great walls across the country (Israel) or bombing the hell out of each other. > > Enough. Back to the excellent Gambas... > > Ronan > -- > e: ronan at ...384... > t: 01903 739 997 > w: www.thelittledot.com > > The Little Dot is a partnership of > Ronan Chilvers and Giles Webberley > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mardus at ...298... Thu Mar 11 17:57:54 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Thu, 11 Mar 2004 13:57:54 -0300 Subject: [Gambas-user] Re: Against the war In-Reply-To: <mnet1.1079013847.9258.danielcampos@...282...> References: <mnet1.1079013847.9258.danielcampos@...282...> Message-ID: <200403111357.54835.mardus@...298...> El Jue 11 Mar 2004 15:04, danielcampos at ...282... escribi?: >(da) This is a different message: >(da) This is just a cry for peace and freedom. >(da) >(da) No more war, no more suffering, it is enough. Para t? y tus compatriotas, un abrazo solidario. For you and your countrymen, my supportive hug. -- Para el cierre: --- El Ping?inor?culo sol?a citar: "Nunca vayas por el camino trazado, porque conduce hacia donde otros han ido ya." (Alexander Graham Bell) - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From mauriiiii3001 at ...325... Thu Mar 11 20:11:40 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Thu, 11 Mar 2004 20:11:40 +0100 Subject: [Gambas-user] Gmine Is Working :-)! Message-ID: <4050B9EC.2030805@...325...> Here It is! The first Gmine (a simple Minesweeper) version is working very fine and you can also decide with how many mines you want to play. The program is not finished infact you can't choose the cells number. There's someone who can tell me some way to do this? Thanks To Beno?t I've found some problems: in previous versions I used an array named HarryC[8,16] but I've found a way to do the same function in another way and faster so I tried to delete it but when I tried to execute the program it crashed with a 11# signal.I realy don't understand why this happened because that array isn't use in the all the code. Thank you Maurizio -------------- next part -------------- A non-text attachment was scrubbed... Name: Gmine-0.5.tar.gz Type: application/gzip Size: 8810 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040311/85033e2a/attachment.gz> From listes.godard at ...11... Thu Mar 11 20:21:52 2004 From: listes.godard at ...11... (Laurent Godard) Date: Thu, 11 Mar 2004 20:21:52 +0100 Subject: [Gambas-user] Gmine Is Working :-)! In-Reply-To: <4050B9EC.2030805@...325...> References: <4050B9EC.2030805@...325...> Message-ID: <4050BC50.1090202@...11...> Hi pozzo > Here It is! The first Gmine (a simple Minesweeper) version > is working very fine and you can also decide with > how many mines you want to play. i've just test it !! great :) very funny it remembers me years ago :) > The program is not finished infact you can't choose the > cells number. > There's someone who can tell me some way to do this? > do you mean the related question to Benoit ? as i start playing with Gambas, i'll try to have a look as an exercise Thanks for your game laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From listes.godard at ...11... Thu Mar 11 20:56:28 2004 From: listes.godard at ...11... (Laurent Godard) Date: Thu, 11 Mar 2004 20:56:28 +0100 Subject: [Gambas-user] Dynamic arrays Message-ID: <4050C46C.4050406@...11...> Hi all i want to play with dynamic arrays i didn't found the redim statement is it possible to have dynamic arrays in Gambas dim MyTab[] a=5 b=6 redim MyTab[a,b] and perharps with a preserve option ? if possible, any example is welcomed Thansk in advance Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From abidoo.too at ...11... Fri Mar 12 00:04:27 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Fri, 12 Mar 2004 00:04:27 +0100 Subject: [Gambas-user] Gmine Is Working :-)! In-Reply-To: <4050B9EC.2030805@...325...> References: <4050B9EC.2030805@...325...> Message-ID: <200403120004.27423.abidoo.too@...11...> Le Jeudi 11 Mars 2004 20:11, Pozzo a ?crit : > Here It is! The first Gmine (a simple Minesweeper) version > is working very fine and you can also decide with > how many mines you want to play. > The program is not finished infact you can't choose the > cells number. > > There's someone who can tell me some way to do this? > > Thanks > > > To Beno?t > I've found some problems: in previous versions I used an array named > HarryC[8,16] but I've found a way to do the same function in another way > and > faster so I tried to delete it but when I tried to execute the program it > crashed with a 11# signal.I realy don't understand why this happened > because that array isn't use in the all the code. Thank you > > > Maurizio you can add your code : http://gambas.magic-systems.net Fabien From abidoo.too at ...11... Fri Mar 12 00:29:53 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Fri, 12 Mar 2004 00:29:53 +0100 Subject: [Gambas-user] gambas family site Message-ID: <200403120029.53184.abidoo.too@...11...> Now the download process work fine ... Sorry for the inconvenient Fabien http://gambas.magic-systems.net Don't look at the spelling check for this time... Mabe i query help for it... i'm just a poor french with a little english... Fabien From ronstk at ...239... Fri Mar 12 03:29:31 2004 From: ronstk at ...239... (ron) Date: Fri, 12 Mar 2004 03:29:31 +0100 Subject: [Gambas-user] gambas family site In-Reply-To: <200403120029.53184.abidoo.too@...11...> References: <200403120029.53184.abidoo.too@...11...> Message-ID: <200403120329.31168.ronstk@...239...> On Friday 12 March 2004 00:29, Fabien Bodard wrote: > Now the download process work fine > > ... Sorry for the inconvenient > > Fabien > > http://gambas.magic-systems.net > > > Don't look at the spelling check for this time... Mabe i query help for > it... i'm just a poor french with a little english... > > Fabien > I'm sorry Fabien but that url is not working here. I have try to use it but KDE 3.2 shows only a popup trying to get it and nothing comes. This from Kmail. When I use IE and type the url there is also nothing coming in. The domain isn't in a block list on both machines so I can only assume the provider blocks or the site is not 24/7 in the air. Ron From shankarkrupa at ...251... Fri Mar 12 04:07:45 2004 From: shankarkrupa at ...251... (S Krupa Shankar) Date: 12 Mar 2004 03:07:45 -0000 Subject: [Gambas-user] Re: Against the war Message-ID: <20040312030745.21693.qmail@...386...> An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040312/103118ff/attachment.html> -------------- next part -------------- Sorry to hear the news Daniel... My condolences. In the name of everything, why in the Earth do men still enjoy War...:-(( And I too look forward to see the day when we Indians and Pakistanis and our politicians behave like brothers. krupa From tbin at ...69... Fri Mar 12 10:18:30 2004 From: tbin at ...69... (Antonio Maschio) Date: Fri, 12 Mar 2004 08:18:30 -0100 Subject: [Gambas-user] Against the war References: <mnet1.1079013847.9258.danielcampos@...282...> <20040311155917.0e8c12ec@...385...> Message-ID: <40518066.2030602@...69...> Ronan, I totally agree with you. Antonio, from Italy <tbin at ...69...> Ronan Chilvers wrote: > Hi Daniel > > On Thu, 11 Mar 2004 15:04:07 CET > danielcampos at ...282... wrote: > > >>This is a different message: >> >> As you probably know, one of the more horrible terrorist attacks have happened today at Madrid, Spain. One of the trains was just the train I used to take to go to my work, before I started using the bus. Me, as all the people killed today, we are innocent people, that just want to work and to live in peace. >> >> There's not any valid reason to steal the live of a innocent person. >> >> This is just a cry for peace and freedom. >> >> No more war, no more suffering, it is enough. >> > > > My sympathies to you and everyone there. Sadly we have 'progressed' to a point as a global society where a few rule the many. Global democracy is so badly crippled that people do not have an effective voice or are so disillusioned that they don't use the voice they have. I'm not USA bashing here, but when the most powerful country in the world can detain people, without trial, without public justification, without consultation, not to mention going to war without international or electorate approval on a trumped up charge (and yes the UK is guilty there too), then we are in dark days indeed. > > Part of the reason I think Linux and projects such as Gambas are important is because they are about the common good. Good tools for all, for free, supported by everyone. Why not approach international politics similarly? Communication is the key to starting to solve terrorism, NOT building bloody great walls across the country (Israel) or bombing the hell out of each other. > > Enough. Back to the excellent Gambas... > > Ronan From ronstk at ...239... Fri Mar 12 16:01:54 2004 From: ronstk at ...239... (ron) Date: Fri, 12 Mar 2004 16:01:54 +0100 Subject: [Gambas-user] gambas family site In-Reply-To: <200403120329.31168.ronstk@...239...> References: <200403120029.53184.abidoo.too@...11...> <200403120329.31168.ronstk@...239...> Message-ID: <200403121601.54391.ronstk@...239...> On Friday 12 March 2004 03:29, ron wrote: > On Friday 12 March 2004 00:29, Fabien Bodard wrote: > > Now the download process work fine > > > > ... Sorry for the inconvenient > > > > Fabien > > > > http://gambas.magic-systems.net > > > > > > Don't look at the spelling check for this time... Mabe i query help for > > it... i'm just a poor french with a little english... > > > > Fabien > > I'm sorry Fabien but that url is not working here. > I have try to use it but KDE 3.2 shows only a popup trying to get it and > nothing comes. This from Kmail. > > When I use IE and type the url there is also nothing coming in. > > The domain isn't in a block list on both machines so I can only assume the > provider blocks or the site is not 24/7 in the air. > > Ron > After testting with www.magic-systems.net I got after long waiting and several refreshes a page. Nice foto of Leo. The body of one of the frames want a javascript but that is nowhere. Then I try gambas again and after 1 minut or so it arives!! So now I have seen then both but with KDE the www and gambas gives a timeout I think inside the 1 minut limit and no page to see :( Changed to 3600 second still nothing. That was at 03:00 GMTin the morning or so, now at 13:30 GMT is also in KDE. It was slow but i got it and registered also. Ron From ronstk at ...239... Sat Mar 13 09:50:41 2004 From: ronstk at ...239... (ron) Date: Sat, 13 Mar 2004 09:50:41 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic Message-ID: <200403130950.42031.ronstk@...239...> Hello, Is there a way to find out to log and see witch files/directories are requested by a program? I think something like FileMon under windows. This is handy to find out where the files are expected to be and are existing or not. This is done in realtime so you can track these errors. i.e. A program wants a myprogram.png file and it does not exist. The KDE controlcenter want some icons I do not have so the are visual missing. I assume the program is opening the file and get a error. If I can log/see this file request I can maybe use an appropriate icon. If it can be done with a already existing program what is the name of it? 2 question. I want 2 or more files add together. In good old dos it was copy file1 + file2 + file3 sumfile or copy file1 sumfile type file2 > sumfile type file2 > sumfile or append file3 sumfile I need to append several binairy files together but can't find a simple CLI command to do that. As far I found it can't be done with cp or dd, but what else exists. Maybe gambas can do it but I feel so stupid I can't solve this. Ron -- NASA spend over 1 million dollar for astronauts to shave without dust. The garbage man says "Let them use a raiser blade with shaving cream" From listes.godard at ...11... Sat Mar 13 10:02:25 2004 From: listes.godard at ...11... (Laurent Godard) Date: Sat, 13 Mar 2004 10:02:25 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <200403130950.42031.ronstk@...239...> References: <200403130950.42031.ronstk@...239...> Message-ID: <4052CE21.8000009@...11...> Hi ron, > I need to append several binairy files together but can't find a simple CLI > command to do that. did you try, under shell cat file1 file2 file3 > targetfile inside gambas, i would try open a target for append as binary (or equivalent) loop over source files open as read binary read write target HTH laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From gambas at ...1... Sat Mar 13 14:57:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 13 Mar 2004 14:57:29 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <200403130950.42031.ronstk@...239...> References: <200403130950.42031.ronstk@...239...> Message-ID: <200403131457.29790.gambas@...1...> On Saturday 13 March 2004 09:50, ron wrote: > Hello, > > Is there a way to find out to log and see witch files/directories > are requested by a program? > I think something like FileMon under windows. > This is handy to find out where the files are expected to be > and are existing or not. > This is done in realtime so you can track these errors. > > i.e. A program wants a myprogram.png file and it does not exist. > The KDE controlcenter want some icons I do not have so the are visual > missing. I assume the program is opening the file and get a error. > If I can log/see this file request I can maybe use an appropriate icon. > > If it can be done with a already existing program what is the name of it? > You can try this, for example, to catch all files opened by the IDE. $ cd ~/gambas/app/gambas $ strace gbx 2&> strace.out $ cat strace.out | grep "open(" With a better use of grep, you can be more accurate. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Mar 13 15:05:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 13 Mar 2004 15:05:07 +0100 Subject: [Gambas-user] Gmine Is Working :-)! In-Reply-To: <4050B9EC.2030805@...325...> References: <4050B9EC.2030805@...325...> Message-ID: <200403131505.07872.gambas@...1...> On Thursday 11 March 2004 20:11, Pozzo wrote: > Here It is! The first Gmine (a simple Minesweeper) version > is working very fine and you can also decide with > how many mines you want to play. > The program is not finished infact you can't choose the > cells number. > > There's someone who can tell me some way to do this? > > Thanks > > > To Beno?t > I've found some problems: in previous versions I used an array named > HarryC[8,16] but I've found a way to do the same function in another way > and > faster so I tried to delete it but when I tried to execute the program it > crashed with a 11# signal.I realy don't understand why this happened > because that array isn't use in the all the code. Thank you > > > Maurizio Could you send me the project that crashes ? Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sat Mar 13 15:57:57 2004 From: ronstk at ...239... (ron) Date: Sat, 13 Mar 2004 15:57:57 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <4052CE21.8000009@...11...> References: <200403130950.42031.ronstk@...239...> <4052CE21.8000009@...11...> Message-ID: <200403131557.58402.ronstk@...239...> On Saturday 13 March 2004 10:02, Laurent Godard wrote: > Hi ron, > > > I need to append several binairy files together but can't find a simple > > CLI command to do that. > > did you try, under shell > > cat file1 file2 file3 > targetfile > > inside gambas, i would try > open a target for append as binary (or equivalent) > loop over source files > open as read binary > read > write target > > HTH > > laurent I new it could be simple, You have only to know how. Well the cat file1 file2 file3 > target did it in the test. I did not see extra or missing bytes at the point the files where append. The gambas way is nice but it should run as a cron task and then the cat way is more easy. Ok so I can write a script ???? copy a working script as example with same functionality addfiles.sh with permission all set rwxrwxrwx #! /bin/sh # in the above line do I need the space or not ????????? cd /data/ham/amsat/received myfiles=$(ls *.bin) for myfile in $myfiles; do cat /data/ham/amsat/received/$myfile > /data/ham/amsat/screen/rpack.bin #rm /data/ham/amsat/received/$myfile done cd - The result is bash: ./append.sh: /bin/sh: bad interpreter: Permission denied I'm feeling so stupid ;( Thanks Ron. From gambas at ...1... Sat Mar 13 16:04:02 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 13 Mar 2004 16:04:02 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <200403131557.58402.ronstk@...239...> References: <200403130950.42031.ronstk@...239...> <4052CE21.8000009@...11...> <200403131557.58402.ronstk@...239...> Message-ID: <200403131604.02800.gambas@...1...> On Saturday 13 March 2004 15:57, ron wrote: > On Saturday 13 March 2004 10:02, Laurent Godard wrote: > > Hi ron, > > > > > I need to append several binairy files together but can't find a simple > > > CLI command to do that. > > > > did you try, under shell > > > > cat file1 file2 file3 > targetfile > > > > inside gambas, i would try > > open a target for append as binary (or equivalent) > > loop over source files > > open as read binary > > read > > write target > > > > HTH > > > > laurent > > I new it could be simple, You have only to know how. > > Well the cat file1 file2 file3 > target did it in the test. > I did not see extra or missing bytes at the point the files where append. > > The gambas way is nice but it should run as a cron task and then the cat > way is more easy. > > Ok so I can write a script ???? > > copy a working script as example with same functionality > addfiles.sh with permission all set rwxrwxrwx > > #! /bin/sh > # in the above line do I need the space or not ????????? > cd /data/ham/amsat/received > myfiles=$(ls *.bin) > > for myfile in $myfiles; do > cat /data/ham/amsat/received/$myfile > /data/ham/amsat/screen/rpack.bin > #rm /data/ham/amsat/received/$myfile > done > cd - > > The result is > bash: ./append.sh: /bin/sh: bad interpreter: Permission denied > > I'm feeling so stupid ;( > > Thanks Ron. > Did you try #!/bin/sh without a space ? Otherwise, you can use a gambas executable in your crontab. After all, gambas executable are exactly shell scripts, except that you have #!/bin/gbx in the beginning of the file instead of #!/bin/sh. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Mar 13 16:17:39 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 13 Mar 2004 16:17:39 +0100 Subject: [Gambas-user] Gmine Is Working :-)! In-Reply-To: <200403131505.07872.gambas@...1...> References: <4050B9EC.2030805@...325...> <200403131505.07872.gambas@...1...> Message-ID: <200403131617.39821.gambas@...1...> On Saturday 13 March 2004 15:05, Benoit Minisini wrote: > On Thursday 11 March 2004 20:11, Pozzo wrote: > > Here It is! The first Gmine (a simple Minesweeper) version > > is working very fine and you can also decide with > > how many mines you want to play. > > The program is not finished infact you can't choose the > > cells number. > > > > There's someone who can tell me some way to do this? > > > > Thanks > > > > > > To Beno?t > > I've found some problems: in previous versions I used an array named > > HarryC[8,16] but I've found a way to do the same function in another way > > and > > faster so I tried to delete it but when I tried to execute the program it > > crashed with a 11# signal.I realy don't understand why this happened > > because that array isn't use in the all the code. Thank you > > > > > > Maurizio > > Could you send me the project that crashes ? > > Regards, Sorry. THIS is the project that crashes! -- Benoit Minisini mailto:gambas at ...1... From listes.godard at ...11... Sat Mar 13 16:32:38 2004 From: listes.godard at ...11... (Laurent Godard) Date: Sat, 13 Mar 2004 16:32:38 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <200403131557.58402.ronstk@...239...> References: <200403130950.42031.ronstk@...239...> <4052CE21.8000009@...11...> <200403131557.58402.ronstk@...239...> Message-ID: <40532996.3070409@...11...> Hi ron, > copy a working script as example with same functionality > addfiles.sh with permission all set rwxrwxrwx > > #! /bin/sh > # in the above line do I need the space or not ????????? > cd /data/ham/amsat/received > myfiles=$(ls *.bin) > > for myfile in $myfiles; do > cat /data/ham/amsat/received/$myfile > /data/ham/amsat/screen/rpack.bin > #rm /data/ham/amsat/received/$myfile > done > cd - sorry, i'm a totally beginner under linux why writing a loop ? I would have replace the loop by in single statement like cat /data/ham/amsat/received/*.bin > /data/ham/amsat/screen/rpack.bin do i miss something ? Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From gambas at ...1... Sat Mar 13 17:24:49 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 13 Mar 2004 17:24:49 +0100 Subject: [Gambas-user] Gmine Is Working :-)! In-Reply-To: <200403131617.39821.gambas@...1...> References: <4050B9EC.2030805@...325...> <200403131505.07872.gambas@...1...> <200403131617.39821.gambas@...1...> Message-ID: <200403131724.49330.gambas@...1...> On Saturday 13 March 2004 16:17, Benoit Minisini wrote: > On Saturday 13 March 2004 15:05, Benoit Minisini wrote: > > On Thursday 11 March 2004 20:11, Pozzo wrote: > > > Here It is! The first Gmine (a simple Minesweeper) version > > > is working very fine and you can also decide with > > > how many mines you want to play. > > > The program is not finished infact you can't choose the > > > cells number. > > > > > > There's someone who can tell me some way to do this? > > > > > > Thanks > > > > > > > > > To Beno?t > > > I've found some problems: in previous versions I used an array named > > > HarryC[8,16] but I've found a way to do the same function in another > > > way and > > > faster so I tried to delete it but when I tried to execute the program > > > it crashed with a 11# signal.I realy don't understand why this happened > > > because that array isn't use in the all the code. Thank you > > > > > > > > > Maurizio > > > > Could you send me the project that crashes ? > > > > Regards, > > Sorry. THIS is the project that crashes! OK. I fixed this stupid bug! When you created arrays of boolean, short or bytes, they were accessed by the interpreter as if they were integer arrays. So filling them erased the memory allocated just after the array. This is the reason why your program crashed when you remove the second array. Its presence prenvented the following variables to be filled with rubbish. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sat Mar 13 17:25:51 2004 From: ronstk at ...239... (ron) Date: Sat, 13 Mar 2004 17:25:51 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <200403131457.29790.gambas@...1...> References: <200403130950.42031.ronstk@...239...> <200403131457.29790.gambas@...1...> Message-ID: <200403131725.51350.ronstk@...239...> On Saturday 13 March 2004 14:57, Benoit Minisini wrote: > On Saturday 13 March 2004 09:50, ron wrote: > > Hello, > > > > Is there a way to find out to log and see witch files/directories > > are requested by a program? > > I think something like FileMon under windows. > > This is handy to find out where the files are expected to be > > and are existing or not. > > This is done in realtime so you can track these errors. > > > > i.e. A program wants a myprogram.png file and it does not exist. > > The KDE controlcenter want some icons I do not have so the are visual > > missing. I assume the program is opening the file and get a error. > > If I can log/see this file request I can maybe use an appropriate icon. > > > > If it can be done with a already existing program what is the name of it? > > You can try this, for example, to catch all files opened by the IDE. > > $ cd ~/gambas/app/gambas > $ strace gbx 2&> strace.out > $ cat strace.out | grep "open(" > > With a better use of grep, you can be more accurate. > > Regards, It was not exactly to check the gambas IDE but playing with it on Kcontrol. And just what I expected is true, SuSE makes a mess. KDE default is English. I found Kcontrol with missing help trys to find in 'en_US' witch is unknown by KDE after 3.1.4 and up strace is in the way I wish, must play more with it Tanks Ron From ronstk at ...239... Sat Mar 13 19:09:33 2004 From: ronstk at ...239... (ron) Date: Sat, 13 Mar 2004 19:09:33 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <200403131604.02800.gambas@...1...> References: <200403130950.42031.ronstk@...239...> <200403131557.58402.ronstk@...239...> <200403131604.02800.gambas@...1...> Message-ID: <200403131909.33756.ronstk@...239...> > > I'm feeling so stupid ;( > > > > Thanks Ron. > > Did you try #!/bin/sh without a space ? > > Otherwise, you can use a gambas executable in your crontab. After all, > gambas executable are exactly shell scripts, except that you have > #!/bin/gbx in the beginning of the file instead of #!/bin/sh. > > Regards, Of course, I am stupid but not so. :) Have seen it in both ways. I know that it was your intention it could be used this way and that is a pleasure but for this simple task may be a bit overload. For bigger I will try it because the basic language is at the moment better then mine acknowledge of bash etc. Brings me to another case. I have seen gambas start also that way. from the CLI is works, even with mc does it work, but not in Konqueror. I have made once the mime type stuff and was able to start with gbx. Also the Type of the file had the right description and the right icon. Click in konqueror did work to. Will make it again. Thanks Ron From ronstk at ...239... Sat Mar 13 19:46:27 2004 From: ronstk at ...239... (ron) Date: Sat, 13 Mar 2004 19:46:27 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <40532996.3070409@...11...> References: <200403130950.42031.ronstk@...239...> <200403131557.58402.ronstk@...239...> <40532996.3070409@...11...> Message-ID: <200403131946.28129.ronstk@...239...> On Saturday 13 March 2004 16:32, Laurent Godard wrote: > Hi ron, > why writing a loop ? > > I would have replace the loop by in single statement like > cat /data/ham/amsat/received/*.bin > /data/ham/amsat/screen/rpack.bin > > do i miss something ? > > Laurent I'm not shure but in my code the orginal must be deleted and the amount of files is unknown. At first view I say here is every file typed/copied to rpack.bin and only the last one is in rpack.bin after finish instead appended. For me it is already strange there is one '>' in this 2'th example, in dos the destination is replaced. Should it not be '>>' ? I did a try and it look to work as you suggested with one '>'. With one rm *.bin it is then cleaned but in feature there must be done a few things with every file before the add is done so a loop is better at the moment. My question what can be wrong for the error message bash: .addfiles.sh: /bin/sh: bad interpreter: Permission denied I'm happy with this solutions given. Slowly I will learn working with bash. Thanks very much Ron. From abidoo.too at ...11... Sat Mar 13 20:19:26 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sat, 13 Mar 2004 20:19:26 +0100 Subject: [Gambas-user] gbirc Message-ID: <200403132019.26302.abidoo.too@...11...> hi all gambasian If you are interested, i've put the gbirc code on http://gambas.magic-systems.net I know that some person who can't access my site but leo is going to see what is the problem with the server. regards, Fabien From gambas at ...1... Sat Mar 13 20:42:51 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 13 Mar 2004 20:42:51 +0100 Subject: [Gambas-user] gbirc In-Reply-To: <200403132019.26302.abidoo.too@...11...> References: <200403132019.26302.abidoo.too@...11...> Message-ID: <200403132042.52224.gambas@...1...> On Saturday 13 March 2004 20:19, Fabien Bodard wrote: > hi all gambasian > > > If you are interested, i've put the gbirc code on > http://gambas.magic-systems.net > I know that some person who can't access my site but leo is going to see > what is the problem with the server. > > regards, > > Fabien > I can't access your site. Neither from Konqueror (KDE 3.2), nor Mozilla. -- Benoit Minisini mailto:gambas at ...1... From listes.godard at ...11... Sat Mar 13 20:44:54 2004 From: listes.godard at ...11... (Laurent Godard) Date: Sat, 13 Mar 2004 20:44:54 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <200403131946.28129.ronstk@...239...> References: <200403130950.42031.ronstk@...239...> <200403131557.58402.ronstk@...239...> <40532996.3070409@...11...> <200403131946.28129.ronstk@...239...> Message-ID: <405364B6.4040709@...11...> Hi ron, concerning bash I don't know if it helps but you may have a look at http://en.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html HTH Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From ronstk at ...239... Sat Mar 13 21:10:51 2004 From: ronstk at ...239... (ron) Date: Sat, 13 Mar 2004 21:10:51 +0100 Subject: [Gambas-user] gbirc In-Reply-To: <200403132019.26302.abidoo.too@...11...> References: <200403132019.26302.abidoo.too@...11...> Message-ID: <200403132110.51385.ronstk@...239...> On Saturday 13 March 2004 20:19, Fabien Bodard wrote: > hi all gambasian > > > If you are interested, i've put the gbirc code on > http://gambas.magic-systems.net > I know that some person who can't access my site but leo is going to see > what is the problem with the server. > > regards, > > Fabien > With tcpdump I found the ip is in the tiscali.nl range. I have tiscali to can use the proxy server of tiscali.nl When I use proxy.tiscali.nl it is coming so fast that tcpdump is unreadable, i think it wil even drop packets in this quick flood, and the site is in a flash (wip) on the screen. Ron From fj.cruz at ...179... Sat Mar 13 22:18:42 2004 From: fj.cruz at ...179... (F.J.Cruz) Date: Sat, 13 Mar 2004 22:18:42 +0100 Subject: [Gambas-user] gbx relocation error Message-ID: <200403132218.42488.fj.cruz@...179...> Hi all, I've been playing with the webbrowser component from gambas 0.90, but whe I want to go to any url I've got this error: gbx: relocation error: /usr/lib/kde3/libsitelinksplugin.so: undefined symbol: _ZNK3DOM4Node6isNullEv I'm working with a Mandrake 10 Community (kernel 2.6.3, kde 3.2). Maybe a libraries version problem? Saludos. -- .-. /v\ L I N U X // \\ > S p a i n < /( )\ > Linux user #188524 < ^^-^^ > Linux machine #83532 < From karl.reinl at ...9... Sat Mar 13 21:16:38 2004 From: karl.reinl at ...9... (Charlie) Date: Sat, 13 Mar 2004 21:16:38 +0100 Subject: [Gambas-user] Checkbox References: <200402282327.04443.jscops@...11...> Message-ID: <40536C26.5040005@...9...> Jack schrieb: >Hello Charlie, > >Yes, your answer is good. We must convert the Gambas boolean(True or False) to >MySQL Logic(1 or 0 (not y or n)), otherwise Gambas write always "FALSE" in >the field. (Never True even if Checkbox.Value = True) Perhaps a bug ? > No, I think 'False' is teh default value . If 'y' or 'n' isn't understood NOTHING is written to the field and so he keeped his default value which is usually 'FLASE'. Sorry, but I was 2 weeks out at holydays ! Amicalement Charlie > >-"Why are you calling my name ?" Because i think that you have to answer me to >my first question. No ? > >Avec toutes mes amiti?s. > >?~Jacky~? > > From karl.reinl at ...9... Sat Mar 13 21:44:51 2004 From: karl.reinl at ...9... (Charlie) Date: Sat, 13 Mar 2004 21:44:51 +0100 Subject: [Gambas-user] If condition References: <200403071957.26872.jscops@...11...> Message-ID: <405372C3.2020405@...9...> Jack schrieb: >Oh yeahh !!! >I'm very stupid and I must stop the wine. >Thank's > > Are your shure it's the wine ? I know , sometimes a programmer needs a helping hand to whome he can read or show the lines who don't work. Because you allways see what you want to see ?= Amicalement Charlie From karl.reinl at ...9... Sat Mar 13 22:10:07 2004 From: karl.reinl at ...9... (Charlie) Date: Sat, 13 Mar 2004 22:10:07 +0100 Subject: [Gambas-user] Re: "[12] Not an object" error. References: <20040304230335.M45710@...381...> <20040307212513.M34881@...381...> Message-ID: <405378AF.5070207@...9...> jholm at ...381... schrieb: >Hi, > >I've done some further studying of my problem. First of all, if I do a clean >(from source, that is) "make, make install" the gbi seg-faults on the info >files. I didn't see that at first, sorry. I've tried to recompile with gcc 3. >2.3 and 3.3.2 and with -O3 and -O switches, but no luck. > >I get the following warnings from "./configure > /dev/null/": > >configure: warning: *** internationalization library (if not present in C >library) is disabled >configure: warning: *** charset conversion library (if not present in C >library) is disabled >configure: warning: *** PostgreSQL driver is disabled >configure: warning: *** MySQL driver is disabled > > >When using the Gentoo ebuild, which effectively just removes the gbi part of >the Makefile, I get the below mentioned errors. > >But in the FAQ I see Gentoo 1.4 as being supported, meaning that my system >most likely has a problem. Is there any particular demands on the linked >libraries? version numbers, gcc compiler, optimization settings, or ... > >hope you can help. > >Regards, >Jesper Holm > > >---------- Forwarded Message ----------- >From: jholm at ...381... >To: gambas-user at lists.sourceforge.net >Sent: Fri, 5 Mar 2004 00:06:59 +0100 >Subject: "[12] Not an object" error. > >Hi, > >I have some problems I hope you can help me with regarding installing Gambas. >I can compile Gambas OK, and install it (make), but upon launching it I >receive the following errors: > >Warning: cannot find /usr/lib/info/gb.info >Warning: cannot find /usr/lib/info/gb.qt.info > >When i create a project and add form, I get the following error: > >[12] Not an object. >At: FProperty.RefreshAll.109 > >and the program exits. > >The console has a lot of output like: >SetProperty: Form.Width: CControl.SetProperty.456: Not an object >SetProperty: Form.Height: CControl.SetProperty.456: Not an object >SetProperty: Form.X: CControl.SetProperty.456: Not an object >SetProperty: Form.Y: CControl.SetProperty.456: Not an object >... > >I have tried to compile it with gcc 3.2.3 and 3.3.2 both yielding the same >result. I use the Gentoo distribution. > >Any ideas? > >Best regards, >Jesper Holm > > Salut Jesper, I'm using gentoo 1.4 and gambas on it. BUT I do not use gambas whitch commes from gentoo ( see the problems in User-Archiv) Do the following: Change to /opt (cd /opt) mkdir gambas cd gambas Download from http://gambas.sourceforge.net/ the last version to /opt/gambas. tar -xvjf gambas-0.<Version>.tar.bz2 cd /opt/gambas/gambas-0.<Version> ./configure make su -c 'make install' (you have to enter the root pw now) now it should work. The warings up only says that you have not installed the 4 libs. What you need if you create forms is qt, 'emerge -p qt' will show you if present. Sorry, but I was 2 weeks out for holydays, now i read all these mails! Amicalement Charlie From daniel.campos at ...338... Sun Mar 14 10:34:57 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 14 Mar 2004 10:34:57 +0100 Subject: [Gambas-user] gbirc In-Reply-To: <200403132110.51385.ronstk@...239...> References: <200403132019.26302.abidoo.too@...11...> <200403132110.51385.ronstk@...239...> Message-ID: <1079256897.2997.3.camel@...40...> El s?b, 13-03-2004 a las 21:10, ron escribi?: > On Saturday 13 March 2004 20:19, Fabien Bodard wrote: > > hi all gambasian > > > > > > If you are interested, i've put the gbirc code on > > http://gambas.magic-systems.net > > I know that some person who can't access my site but leo is going to see > > what is the problem with the server. > > > > regards, > > > > Fabien > > > > With tcpdump I found the ip is in the tiscali.nl range. > I have tiscali to can use the proxy server of tiscali.nl > When I use proxy.tiscali.nl it is coming so fast that tcpdump is unreadable, > i think it wil even drop packets in this quick flood, and the site is in a > flash (wip) on the screen. > > Ron > I'm unable to access to gambas.magic-systems.net, not using Mozilla or Konqueror, nor using 'ping'. Dig says: dig 204.251.10.100 gambas.magic-systems.net ; <<>> DiG 9.2.3rc2 <<>> 204.251.10.100 gambas.magic-systems.net ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 34979 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;204.251.10.100. IN A ;; AUTHORITY SECTION: . 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2004031301 1800 900 604800 86400 ;; Query time: 132 msec ;; SERVER: 10.0.0.2#53(10.0.0.2) ;; WHEN: Sun Mar 14 10:29:23 2004 ;; MSG SIZE rcvd: 107 ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36797 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;gambas.magic-systems.net. IN A ;; ANSWER SECTION: gambas.magic-systems.net. 36793 IN A 195.241.90.231 ;; AUTHORITY SECTION: magic-systems.net. 36793 IN NS ns0.directnic.com. magic-systems.net. 36793 IN NS ns1.directnic.com. ;; ADDITIONAL SECTION: ns0.directnic.com. 124329 IN A 204.251.10.100 ns1.directnic.com. 115080 IN A 206.251.177.2 ;; Query time: 69 msec ;; SERVER: 10.0.0.2#53(10.0.0.2) ;; WHEN: Sun Mar 14 10:29:23 2004 ;; MSG SIZE rcvd: 139 Regards, Daniel Campos > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Sun Mar 14 09:42:58 2004 From: ronstk at ...239... (ron) Date: Sun, 14 Mar 2004 09:42:58 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <405364B6.4040709@...11...> References: <200403130950.42031.ronstk@...239...> <200403131946.28129.ronstk@...239...> <405364B6.4040709@...11...> Message-ID: <200403140942.59354.ronstk@...239...> On Saturday 13 March 2004 20:44, Laurent Godard wrote: > Hi ron, > > concerning bash > I don't know if it helps but you may have a look at > > http://en.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html > > HTH > > Laurent Hi Laurent Thats a nice little compact and not to much info. I can see the light. I do have a book. Looks also great but is also a bit to overwhelming. It is in my favourite list now. But here I can't a hint about the permission denied. I can't execute the script. Ron From girardhenri at ...67... Sun Mar 14 11:00:05 2004 From: girardhenri at ...67... (Henri Girard) Date: Sun, 14 Mar 2004 11:00:05 +0100 Subject: [Gambas-user] gbirc References: <200403132019.26302.abidoo.too@...11...> <200403132110.51385.ronstk@...239...> <1079256897.2997.3.camel@...40...> Message-ID: <BAY8-DAV5kqC5EtrUVY000281ae@...67...> Hi :) My problem is : I registered in the list but never get the message in hotmail so i can't log into it kind regards HG ----- Original Message ----- From: "Daniel Campos" <daniel.campos at ...338...> To: <gambas-user at lists.sourceforge.net> Sent: Sunday, March 14, 2004 10:34 AM Subject: Re: [Gambas-user] gbirc El s?b, 13-03-2004 a las 21:10, ron escribi?: > On Saturday 13 March 2004 20:19, Fabien Bodard wrote: > > hi all gambasian > > > > > > If you are interested, i've put the gbirc code on > > http://gambas.magic-systems.net > > I know that some person who can't access my site but leo is going to see > > what is the problem with the server. > > > > regards, > > > > Fabien > > > > With tcpdump I found the ip is in the tiscali.nl range. > I have tiscali to can use the proxy server of tiscali.nl > When I use proxy.tiscali.nl it is coming so fast that tcpdump is unreadable, > i think it wil even drop packets in this quick flood, and the site is in a > flash (wip) on the screen. > > Ron > I'm unable to access to gambas.magic-systems.net, not using Mozilla or Konqueror, nor using 'ping'. Dig says: dig 204.251.10.100 gambas.magic-systems.net ; <<>> DiG 9.2.3rc2 <<>> 204.251.10.100 gambas.magic-systems.net ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 34979 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;204.251.10.100. IN A ;; AUTHORITY SECTION: 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2004031301 1800 900 604800 86400 ;; Query time: 132 msec ;; SERVER: 10.0.0.2#53(10.0.0.2) ;; WHEN: Sun Mar 14 10:29:23 2004 ;; MSG SIZE rcvd: 107 ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36797 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;gambas.magic-systems.net. IN A ;; ANSWER SECTION: gambas.magic-systems.net. 36793 IN A 195.241.90.231 ;; AUTHORITY SECTION: magic-systems.net. 36793 IN NS ns0.directnic.com. magic-systems.net. 36793 IN NS ns1.directnic.com. ;; ADDITIONAL SECTION: ns0.directnic.com. 124329 IN A 204.251.10.100 ns1.directnic.com. 115080 IN A 206.251.177.2 ;; Query time: 69 msec ;; SERVER: 10.0.0.2#53(10.0.0.2) ;; WHEN: Sun Mar 14 10:29:23 2004 ;; MSG SIZE rcvd: 139 Regards, Daniel Campos > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From abidoo.too at ...11... Sun Mar 14 14:41:44 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 14 Mar 2004 14:41:44 +0100 Subject: [Gambas-user] gbirc In-Reply-To: <BAY8-DAV5kqC5EtrUVY000281ae@...67...> References: <200403132019.26302.abidoo.too@...11...> <1079256897.2997.3.camel@...40...> <BAY8-DAV5kqC5EtrUVY000281ae@...67...> Message-ID: <200403141441.44272.abidoo.too@...11...> Le Dimanche 14 Mars 2004 11:00, Henri Girard a ?crit : your're address is :> <girardhenri at ...67...> you have send this one : henrigirard at ...67... Fabien From abidoo.too at ...11... Sun Mar 14 14:56:12 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 14 Mar 2004 14:56:12 +0100 Subject: [Gambas-user] gbirc In-Reply-To: <1079256897.2997.3.camel@...40...> References: <200403132019.26302.abidoo.too@...11...> <200403132110.51385.ronstk@...239...> <1079256897.2997.3.camel@...40...> Message-ID: <200403141456.12286.abidoo.too@...11...> for me dig say bash-2.05b$ dig gambas.magic-systems.net ; <<>> DiG 9.2.3rc2 <<>> gambas.magic-systems.net ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49852 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0 ;; QUESTION SECTION: ;gambas.magic-systems.net. IN A ;; ANSWER SECTION: gambas.magic-systems.net. 84999 IN A 195.241.90.231 ;; AUTHORITY SECTION: magic-systems.net. 84999 IN NS ns1.directnic.com. magic-systems.net. 84999 IN NS ns0.directnic.com. ;; Query time: 133 msec ;; SERVER: 80.10.246.134#53(80.10.246.134) ;; WHEN: Sun Mar 14 14:54:39 2004 ;; MSG SIZE rcvd: 107 bash-2.05b$ bash-2.05b$ please daniel can you retry to connect...? Fabien From gambas at ...1... Sun Mar 14 15:00:37 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Mar 2004 15:00:37 +0100 Subject: [Gambas-user] gambas 0.91 Message-ID: <200403141500.37155.gambas@...1...> Hi old folks :-) Here is gambas 0.91... What's new ? * There are many bug fixes and improvements in the autocompletion feature, that now is really useful. * There are many important fixes in the debugger, in process management, and in window management too. Moreover, this release is dedicated to the victims of terrorism and war. Most of these people never made weapons, never sold them, never used them. And they died. I can now starting to update the documentation. This is an huge job too... You must be patient. The 1.0 version is not so far :-) I'm waiting for your bug reports... Regards, -- Benoit Minisini mailto:gambas at ...1... From daniel.campos at ...338... Sun Mar 14 15:06:18 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 14 Mar 2004 15:06:18 +0100 Subject: [Gambas-user] gbirc In-Reply-To: <200403141456.12286.abidoo.too@...11...> References: <200403132019.26302.abidoo.too@...11...> <200403132110.51385.ronstk@...239...> <1079256897.2997.3.camel@...40...> <200403141456.12286.abidoo.too@...11...> Message-ID: <1079273178.3108.3.camel@...40...> El dom, 14-03-2004 a las 14:56, Fabien Bodard escribi?: > for me dig say > > bash-2.05b$ dig gambas.magic-systems.net > > ; <<>> DiG 9.2.3rc2 <<>> gambas.magic-systems.net > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49852 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;gambas.magic-systems.net. IN A > > ;; ANSWER SECTION: > gambas.magic-systems.net. 84999 IN A 195.241.90.231 > > ;; AUTHORITY SECTION: > magic-systems.net. 84999 IN NS ns1.directnic.com. > magic-systems.net. 84999 IN NS ns0.directnic.com. > > ;; Query time: 133 msec > ;; SERVER: 80.10.246.134#53(80.10.246.134) > ;; WHEN: Sun Mar 14 14:54:39 2004 > ;; MSG SIZE rcvd: 107 > > bash-2.05b$ > bash-2.05b$ > > please daniel can you retry to connect...? Unable to obtain any IP address for your place testing a lot of DNS servers! Regards, Daniel Campos > > Fabien > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From daniel.campos at ...338... Sun Mar 14 15:16:49 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 14 Mar 2004 15:16:49 +0100 Subject: [Gambas-user] gambas 0.91 In-Reply-To: <200403141500.37155.gambas@...1...> References: <200403141500.37155.gambas@...1...> Message-ID: <1079273809.3000.6.camel@...40...> Hi Beno?t: Error -> make: There's no rule to make the target: gb_common_case.h In fact, this file does not exist in the 0.91 source package... Regards, Daniel Campos El dom, 14-03-2004 a las 15:00, Benoit Minisini escribi?: > Hi old folks :-) > > Here is gambas 0.91... > > What's new ? > > * There are many bug fixes and improvements in the autocompletion feature, > that now is really useful. > > * There are many important fixes in the debugger, in process management, and > in window management too. > > Moreover, this release is dedicated to the victims of terrorism and war. Most > of these people never made weapons, never sold them, never used them. And > they died. > > I can now starting to update the documentation. This is an huge job too... You > must be patient. The 1.0 version is not so far :-) > > I'm waiting for your bug reports... > > Regards, From ronstk at ...239... Sun Mar 14 15:19:20 2004 From: ronstk at ...239... (ron) Date: Sun, 14 Mar 2004 15:19:20 +0100 Subject: [Gambas-user] gbirc In-Reply-To: <1079273178.3108.3.camel@...40...> References: <200403132019.26302.abidoo.too@...11...> <200403141456.12286.abidoo.too@...11...> <1079273178.3108.3.camel@...40...> Message-ID: <200403141519.20694.ronstk@...239...> Hallo Fabien ; <<>> DiG 9.2.2 <<>> gambas.magic-systems.net ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5842 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;gambas.magic-systems.net. IN A ;; ANSWER SECTION: gambas.magic-systems.net. 19105 IN A 195.241.90.231 ;; AUTHORITY SECTION: magic-systems.net. 19105 IN NS ns0.directnic.com. magic-systems.net. 19105 IN NS ns1.directnic.com. ;; ADDITIONAL SECTION: ns0.directnic.com. 131308 IN A 204.251.10.100 ns1.directnic.com. 56092 IN A 206.251.177.2 ;; Query time: 93 msec ;; SERVER: 192.168.1.1#53(192.168.1.1) <== my local adsl modem ;; WHEN: Sun Mar 14 15:12:55 2004 ;; MSG SIZE rcvd: 139 The ADDITIONAL SECTION: section is not in yours? From gambas at ...1... Sun Mar 14 15:21:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Mar 2004 15:21:54 +0100 Subject: [Gambas-user] gambas 0.91 In-Reply-To: <1079273809.3000.6.camel@...40...> References: <200403141500.37155.gambas@...1...> <1079273809.3000.6.camel@...40...> Message-ID: <200403141521.54141.gambas@...1...> On Sunday 14 March 2004 15:16, Daniel Campos wrote: > Hi Beno?t: > > Error -> > > make: > > There's no rule to make the target: > > gb_common_case.h > > In fact, this file does not exist in the 0.91 source package... > > Regards, > > Daniel Campos > AARRGH ! I will fix it in a few minutes... -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Mar 14 15:24:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Mar 2004 15:24:25 +0100 Subject: [Gambas-user] gambas 0.91 In-Reply-To: <200403141521.54141.gambas@...1...> References: <200403141500.37155.gambas@...1...> <1079273809.3000.6.camel@...40...> <200403141521.54141.gambas@...1...> Message-ID: <200403141524.25467.gambas@...1...> On Sunday 14 March 2004 15:21, Benoit Minisini wrote: > On Sunday 14 March 2004 15:16, Daniel Campos wrote: > > Hi Beno?t: > > > > Error -> > > > > make: > > > > There's no rule to make the target: > > > > gb_common_case.h > > > > In fact, this file does not exist in the 0.91 source package... > > > > Regards, > > > > Daniel Campos > > AARRGH ! I will fix it in a few minutes... OK. Should be fixed. -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sun Mar 14 15:54:12 2004 From: ronstk at ...239... (ron) Date: Sun, 14 Mar 2004 15:54:12 +0100 Subject: [Gambas-user] gbirc In-Reply-To: <200403141456.12286.abidoo.too@...11...> References: <200403132019.26302.abidoo.too@...11...> <1079256897.2997.3.camel@...40...> <200403141456.12286.abidoo.too@...11...> Message-ID: <200403141554.12904.ronstk@...239...> Hallo Fabien As I found magic-system.net is at the same provider I have. There are rumors this provider is starting to block ftp and http servers from users to be reachable from points outside the own network segment. I can reach my linux server with adsl using a isdn line on my windows machine. The ADSL and ISDN have different network segments but same provider 82.168.234.x <> 195.241.201.9x at this moment I just try the gambas.magic-systems.net site via isdn and is success with full speed incoming. No proxy. The same windows machine but via the ADSL router gives nothing. When I use a proxy server by this provider then both machines can reach the gambas site without a problem. Daniel: Did you try the given 4go.to link, did it work? If not then the rumors are maybe reality. :( Ron From mardus at ...298... Sun Mar 14 17:00:16 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Sun, 14 Mar 2004 13:00:16 -0300 Subject: [Gambas-user] Re: gbirc In-Reply-To: <200403141554.12904.ronstk@...239...> References: <200403132019.26302.abidoo.too@...11...> <200403141456.12286.abidoo.too@...11...> <200403141554.12904.ronstk@...239...> Message-ID: <200403141300.16634.mardus@...298...> El Dom 14 Mar 2004 11:54, ron escribi?: |> Hallo Fabien |> There are rumors this provider is starting to block ftp and http servers |> from users to be reachable from points outside the own network segment. | I've accesed the site almost instantaneously, and downloaded and example. (From Argentine) -- Para el cierre: --- El Ping?inor?culo sol?a citar: Hombre invisible busca mujer transparente para hacer lo nunca visto. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From jscops at ...11... Sun Mar 14 19:50:39 2004 From: jscops at ...11... (Jack) Date: Sun, 14 Mar 2004 19:50:39 +0100 Subject: [Gambas-user] The blind Message-ID: <200403141950.39555.jscops@...11...> Charlie wrote >I know , sometimes a programmer needs a helping hand to whome he can >read or show the lines >who don't work. >Because you allways see what you want to see ?= >Amicalement >Charlie You are right to say this. I'm a old man who learn Linux, databases, programs, logicals, english and many others disciplines with Gambas and sometimes I am blind. But Gambas mailing list always help me with many humanity. Thank's. Avec toutes mes amiti?s. Jack. From karl.reinl at ...9... Sun Mar 14 20:00:49 2004 From: karl.reinl at ...9... (Charlie) Date: Sun, 14 Mar 2004 20:00:49 +0100 Subject: [Gambas-user] The blind References: <200403141950.39555.jscops@...11...> Message-ID: <4054ABE1.1050107@...9...> Jack schrieb: >Charlie wrote > > > >>I know , sometimes a programmer needs a helping hand to whome he can >>read or show the lines >>who don't work. >>Because you allways see what you want to see ?= >> >> > > > >>Amicalement >>Charlie >> >> > >You are right to say this. >I'm a old man who learn Linux, databases, programs, logicals, english and many >others disciplines with Gambas and sometimes I am blind. But Gambas mailing >list always help me with many humanity. > >Thank's. > >Avec toutes mes amiti?s. > >Jack. > > > Salut Jack, if I right understood, you don't stop drinking wine ? Thats good, I also like this stuff, one or two glasses at evening. (With friends sometimes more.But at this time we recreate that world !!!!) Amicalement Charlie > > From sourceforge-raindog2 at ...94... Sun Mar 14 20:57:49 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 14 Mar 2004 14:57:49 -0500 Subject: [Gambas-user] mandrake packages for 0.91 Message-ID: <200403141457.50058.sourceforge-raindog2@...94...> OK, new packages are up for Mandrake 9.1 and 9.2. I haven't installed 10.0 anywhere yet but I'll make packages when I do (and probably stop with the 9.1 packages because I probably won't have any 9.1 boxes around much longer.) I can't connect to the cooker ftp server to upload the new src.rpm today, which I suppose means they're still in the freeze for 10.0. http://www.kudla.org/index.php?wl_mode=more&wl_eid=51 Rob From ronstk at ...239... Sun Mar 14 23:29:19 2004 From: ronstk at ...239... (ron) Date: Sun, 14 Mar 2004 23:29:19 +0100 Subject: [Gambas-user] mandrake packages for 0.91 In-Reply-To: <200403141457.50058.sourceforge-raindog2@...94...> References: <200403141457.50058.sourceforge-raindog2@...94...> Message-ID: <200403142329.20136.ronstk@...239...> On Sunday 14 March 2004 20:57, Rob wrote: > OK, new packages are up for Mandrake 9.1 and 9.2. I haven't > installed 10.0 anywhere yet but I'll make packages when I do > (and probably stop with the 9.1 packages because I probably > won't have any 9.1 boxes around much longer.) > > I can't connect to the cooker ftp server to upload the new > src.rpm today, which I suppose means they're still in the freeze > for 10.0. > > http://www.kudla.org/index.php?wl_mode=more&wl_eid=51 > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi Rob, I just want to take a view in the rpm. The new KDE 3.2.0 gives 'save', 'open' 'cancel' Because normal in 3.1.4 rpm's opens in Kpackage i simple click on 'open' Result a grey konqueror window. Try again and see [snap7] I had read something about realplayer has also rpm so I go to Kcontol->File Associations, type .rpm and see [snap8], Kpackage and no realplayer. In the past before 3.2 the extention was used to know the program for open and they have changed to content, also there was a 'open width' and then you could choose between the program accoiciated or select something else and I like that more. The stupid thing since 3.2.0 is that it is not always show open with what, the button is to small for long program names, short names are shown. But why will realplayer play a xxx.i386.rpm? l look in the File accociations for audio/x-pn-realaudio-plugin and find realplayer [snap9] Then i go to my winbox and start a header viewer and see your header send content-type audio/x-pn-realaudio-plugin :( You can add a .htaccess file in the directory with rpm files and change the mimetype to send in the header to application/octet-stream. reference Apache/manual/content-negotiation.html In the httpd.config you must add AddHandler type-map .var In the direcory with rpm files a .var file with content URI: *.rpm Content-type: application/octet-stream; qs=0.8 Or change the mimetype file. This way is maybe better to prevent realplayer to start. -------------- next part -------------- A non-text attachment was scrubbed... Name: snap7.png Type: image/png Size: 14630 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040314/02f4fe5d/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snap8.png Type: image/png Size: 26928 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040314/02f4fe5d/attachment-0001.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snap9.png Type: image/png Size: 38086 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040314/02f4fe5d/attachment-0002.png> From sourceforge-raindog2 at ...94... Sun Mar 14 23:54:28 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 14 Mar 2004 17:54:28 -0500 Subject: [Gambas-user] mandrake packages for 0.91 In-Reply-To: <200403142329.20136.ronstk@...239...> References: <200403141457.50058.sourceforge-raindog2@...94...> <200403142329.20136.ronstk@...239...> Message-ID: <200403141754.28072.sourceforge-raindog2@...94...> On Sunday 14 March 2004 17:29, ron wrote: > Then i go to my winbox and start a header viewer and see your > header send content-type audio/x-pn-realaudio-plugin :( I'll try to fix that in my apache config, but trying to use kpackage to install my Mandrake RPM's will fail pretty badly, since kpackage is a plain old RPM front end handling only one package at a time, and my Mandrake packages have mutual dependencies (you cannot install just one at a time.) You need to either download them all to a directory and "urpmi *" (or "rpm -ivh *") or configure an urpmi source for my site (see http://www.thebrix.org.uk/ for more info) which will let you just go "urpmi gambas-gui" or simply use Mandrake's control panel to do it. Rob From jholm at ...381... Sun Mar 14 23:59:15 2004 From: jholm at ...381... (Jesper Holm) Date: Sun, 14 Mar 2004 23:59:15 +0100 Subject: [Gambas-user] Succes with 0.91 and Gentoo Message-ID: <200403142359.15716.jholm@...381...> Hello all, I have been unable to install Gambas 0.90 and earlier versions. But 0.91 compiles, installs and executes perfectly :-) For anyone with similar problems, just for the record, these are the "packages" that have changed on my system between 0.90 and 0.91. Kernel 2.6.3 -> 2.6.4 with pentium-M processor architecture (though everything worked fine with pentium3 choice) Recompilation of glibc, binutils, gcc all with -O2 flags on GCC 3.3.2. These steps produced no change for the 0.90 version. Upgrading to KDE 3.2.1, and combined with brand new Gambas 0.91, and everything works. I haven't tried to get 0.90 to work with the new KDE. Thanks for all your input earlier. Jesper From gambas at ...1... Mon Mar 15 00:06:49 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 15 Mar 2004 00:06:49 +0100 Subject: [Gambas-user] mandrake packages for 0.91 In-Reply-To: <200403141457.50058.sourceforge-raindog2@...94...> References: <200403141457.50058.sourceforge-raindog2@...94...> Message-ID: <200403150006.49035.gambas@...1...> On Sunday 14 March 2004 20:57, Rob wrote: > OK, new packages are up for Mandrake 9.1 and 9.2. I haven't > installed 10.0 anywhere yet but I'll make packages when I do > (and probably stop with the 9.1 packages because I probably > won't have any 9.1 boxes around much longer.) > > I can't connect to the cooker ftp server to upload the new > src.rpm today, which I suppose means they're still in the freeze > for 10.0. > > http://www.kudla.org/index.php?wl_mode=more&wl_eid=51 > > Rob > Hi, Rob, I just wanted to tell you a few thing about your wiki scripts: - When you make a new symbol page, could you make a smaller title (i.e. ---++ instead of ---+) ? - Look at ".Array" page: the child classes are "DateArray,FloatArray,..." instead of "Date[],Float[],...". Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Mon Mar 15 03:27:13 2004 From: ronstk at ...239... (ron) Date: Mon, 15 Mar 2004 03:27:13 +0100 Subject: [Gambas-user] mandrake packages for 0.91 In-Reply-To: <200403141754.28072.sourceforge-raindog2@...94...> References: <200403141457.50058.sourceforge-raindog2@...94...> <200403142329.20136.ronstk@...239...> <200403141754.28072.sourceforge-raindog2@...94...> Message-ID: <200403150327.13646.ronstk@...239...> On Sunday 14 March 2004 23:54, Rob wrote: > On Sunday 14 March 2004 17:29, ron wrote: > > Then i go to my winbox and start a header viewer and see your > > header send content-type audio/x-pn-realaudio-plugin :( > > I'll try to fix that in my apache config, but trying to use > kpackage to install my Mandrake RPM's will fail pretty badly, I didn't want to install Mandrake, I use SuSE you know :) It was only to see the directory layout in Mandrake. I still think for a updated rpm version for SuSE, the are below .65 On SuSE with no prefix I get this layout /opt/gambas/bin -----------------/include -----------------/lib -----------------/lib/info -----------------/share -----------------/share/examples + subdirs -----------------/share/help + subdirs and several softlinks in /usr/bin to opt/gambas/bin/ SuSE has made /usr/src/packages/BUILD -------------------------/RPMS/ix86 -------------------------/SOURCES -------------------------/SPECS -------------------------/SRPMS I have the source in /usr/local/src/gambas-x.xx and when i'm right I must use /usr/src/packages/SOURCES/gambas-x.xx I must also get the correct curl working with Yast for compiling. But I find the compressed file and self compile with the options by configure, look to the dependancies like the curl by me, the best way. Now only the be not afraid to do it. :) Ron From sourceforge-raindog2 at ...94... Mon Mar 15 06:24:48 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 15 Mar 2004 00:24:48 -0500 Subject: [Gambas-user] mandrake packages for 0.91 In-Reply-To: <200403150327.13646.ronstk@...239...> References: <200403141457.50058.sourceforge-raindog2@...94...> <200403141754.28072.sourceforge-raindog2@...94...> <200403150327.13646.ronstk@...239...> Message-ID: <200403150024.48274.sourceforge-raindog2@...94...> On Sunday 14 March 2004 21:27, ron wrote: > > I'll try to fix that in my apache config, but trying to use > > kpackage to install my Mandrake RPM's will fail pretty > > badly, > I didn't want to install Mandrake, I use SuSE you know :) I know, but nonetheless they are Mandrake RPM's, and Mandrake and SuSE are about as different as two RPM-based linuxes can be. At any rate, if you just download the src.rpm you should get a spec file that works, even if it puts the files in non-SuSE-approved places. > SuSE has made > /usr/src/packages/BUILD > -------------------------/RPMS/ix86 > -------------------------/SOURCES > -------------------------/SPECS > -------------------------/SRPMS > > I have the source in /usr/local/src/gambas-x.xx and when i'm > right I must use /usr/src/packages/SOURCES/gambas-x.xx > I must also get the correct curl working with Yast for > compiling. Generally speaking, it's a Bad Thing(tm) to build packages as root. But soon "Build RPM..." should be available in the gambas IDE and it will set up your home directory appropriately, at least in theory ;) Rob From listes.godard at ...11... Mon Mar 15 08:04:01 2004 From: listes.godard at ...11... (Laurent Godard) Date: Mon, 15 Mar 2004 08:04:01 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <200403131557.58402.ronstk@...239...> References: <200403130950.42031.ronstk@...239...> <4052CE21.8000009@...11...> <200403131557.58402.ronstk@...239...> Message-ID: <40555561.8080704@...11...> Hi Ron, > The result is > bash: ./append.sh: /bin/sh: bad interpreter: Permission denied > I don't know if tyour problem is solved, but did you check the permisions of your file ? Is it executable with the current user You may look at chmod fonction to make it executable chmod 777 ./append.sh As i'm a totally bneginner in unix environement, i may be wrong, though Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From danielcampos at ...282... Mon Mar 15 08:36:13 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Mon, 15 Mar 2004 08:36:13 CET Subject: [Gambas-user] gbirc Message-ID: <mnet1.1079336173.10958.danielcampos@...282...> >Daniel: >Did you try the given 4go.to link, did it work? >If not then the rumors are maybe reality. :( > I'm really sorry, but my home computer crashed just after compiling Gambas 0.91, the processor is completely broken, so until I buy a new computer I can't help very much. However, here at work I'm unable to access to that web page too. Regards, Daniel Campos (The crash is not Gambas matter :-) ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From girardhenri at ...67... Mon Mar 15 08:51:55 2004 From: girardhenri at ...67... (Henri Girard) Date: Mon, 15 Mar 2004 08:51:55 +0100 Subject: [Gambas-user] gbirc References: <mnet1.1079336173.10958.danielcampos@...282...> Message-ID: <BAY8-DAV19Aj5p1Fjxe00029193@...67...> I accessed the web site on sunday without anymore problem : In french we say : no news good news ! Tahnks by the way for your wonderfull work ! Shang di ai bao you ni :) Que Dieu amour nous b?nisse tous ! HG ----- Original Message ----- From: <danielcampos at ...282...> To: <gambas-user at lists.sourceforge.net> Sent: Monday, March 15, 2004 9:36 AM Subject: Re: Re: [Gambas-user] gbirc >Daniel: >Did you try the given 4go.to link, did it work? >If not then the rumors are maybe reality. :( > I'm really sorry, but my home computer crashed just after compiling Gambas 0.91, the processor is completely broken, so until I buy a new computer I can't help very much. However, here at work I'm unable to access to that web page too. Regards, Daniel Campos (The crash is not Gambas matter :-) ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Mon Mar 15 13:25:26 2004 From: ronstk at ...239... (ron) Date: Mon, 15 Mar 2004 13:25:26 +0100 Subject: [Gambas-user] Question Compiling gambas0.91 Message-ID: <200403151325.26433.ronstk@...239...> Hallo Benoit, Rob, I'm tryng to make a RPM binary distribution for SuSE 8.2. 1) At the moment I get several warnings and my polici is they should not occurs. I know for several you can save put them in trahcan but this one i can't remember seen these dereferencing warnings.May I forget these also? gbc_class.c: In function `check_one_property_func': gbc_class.c:605: warning: dereferencing type-punned pointer will break strict-aliasing rules gbc_trans.c: In function `TRANS_get_number': gbc_trans.c:69: warning: `dval' might be used uninitialized in this function gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -O2 -march=i586 -pipe -Wall -g -Os -c gbc_trans_code.c gbc_trans_code.c: In function `TRANS_statement': gbc_trans_code.c:169: warning: comparison between signed and unsigned this one was save as you told in the past/ vb.c: In function `CVB_val': vb.c:36: warning: dereferencing type-punned pointer will break strict-aliasing rules vb.c:38: warning: dereferencing type-punned pointer will break strict-aliasing rules 2) /usr/bin/install -c .libs/lib.gb.qt.kde.lai /var/tmp/build-root-gambas/opt/lib/lib.gb.qt.kde.la libtool: install: warning: remember to run `libtool --finish /opt/lib' make[7]: Nothing to be done for `install-data-am'. For `libtool --finish /opt/lib' I do not know how to fix that in the RPM yet. 3) make[4]: Leaving directory `/usr/src/packages/BUILD/gambas-0.91/src' /bin/sh: line 1: gbc: command not found make[3]: Leaving directory `/usr/src/packages/BUILD/gambas-0.91/src' /bin/sh: line 1: gba: command not found make[2]: Leaving directory `/usr/src/packages/BUILD/gambas-0.91/src' /usr/bin/install: cannot stat `gambas-database-manager': No such file or directory make[2]: Entering directory `/usr/src/packages/BUILD/gambas-0.91' make[3]: *** [install-exec-local] Error 1 make[3]: Entering directory `/usr/src/packages/BUILD/gambas-0.91' make[2]: *** [install-am] Error 2 make[1]: *** [install-recursive] Error 1 Making symbolic links in /usr/bin... make: *** [install-strip] Error 2 Bad exit status from /var/tmp/rpm-tmp.5247 (%install) Installing the development environment... Compiling Util... Compiling gambas... Compiling gambas-database-manager... make[3]: Leaving directory `/usr/src/packages/BUILD/gambas-0.91' make[2]: Leaving directory `/usr/src/packages/BUILD/gambas-0.91' make[1]: Leaving directory `/usr/src/packages/BUILD/gambas-0.91' Here the gbc and gba command not found, `gambas-database-manager': No such file or directory These are also not good I think. --- It is build from the orginal gambas-091.tar.bz2 file and I found in /var/tmp/build-root-gambas a opt/gambas/bin -lib and include directory with the correct files in it, however not gambas self in bin, and 4 new symbolic links gba,gbc,gbi, and gbx to in /usr/bin to /opt/bin/ the symlink in /usr/bin to /opt/gambas/bin is the orginal and not from the rpm building process. In fact, is it a good practice to send you the config.log and .status and/or a dump of the make pass? Don't forget I'm newbie to do this. The compiled version after release of the minor update works without found problem. Only a few missing doc links. Grts Ron From sourceforge-raindog2 at ...94... Mon Mar 15 14:34:15 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 15 Mar 2004 08:34:15 -0500 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <40555561.8080704@...11...> References: <200403130950.42031.ronstk@...239...> <200403131557.58402.ronstk@...239...> <40555561.8080704@...11...> Message-ID: <200403150834.15241.sourceforge-raindog2@...94...> On Monday 15 March 2004 02:04, Laurent Godard wrote: > chmod 777 ./append.sh > As i'm a totally bneginner in unix environement, i may be > wrong, though Here's a free lesson, then :) Don't go "chmod 777" unless you know you absolutely have to, especially if the file is owned by root. That lets any user on your machine alter that file, and while you may think of your machine as being a single-user box, if there were some previously unknown vulnerability in apache or a mail server or xinetd or samba or etc., the exploiter would have a place to put further exploit code in hopes of gaining root access. chmod a+x will accomplish what you meant to do, should be a little simpler for newbies to understand (add eXecute permission for All) and doesn't open the file up to the world for writing. Rob From sourceforge-raindog2 at ...94... Mon Mar 15 14:48:09 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 15 Mar 2004 08:48:09 -0500 Subject: [Gambas-user] Question Compiling gambas0.91 In-Reply-To: <200403151325.26433.ronstk@...239...> References: <200403151325.26433.ronstk@...239...> Message-ID: <200403150848.09934.sourceforge-raindog2@...94...> On Monday 15 March 2004 07:25, ron wrote: > At the moment I get several warnings and my polici is they > should not occurs. I know for several you can save put them in > trahcan but this one i can't remember seen these dereferencing > warnings.May I forget these also? I think I get all of those warnings. Compiler warnings don't bother me in building RPM's, it's actual showstopping build errors. Warnings are useful for diagnosing when, say, a component doesn't build, though. > For `libtool --finish /opt/lib' I do not know how to fix that > in the RPM yet. I don't know what this is, but would question whether it's a showstopper. > gbc: command not found > gba: command not found > cannot stat `gambas-database-manager': No such file or > directory > Here the gbc and gba command not found, > `gambas-database-manager': No such file or directory > These are also not good I think. Again I suggest that you look at my gambas and gambas-gui src.rpm's for their spec files (be careful to backup your own spec file before installing the gambas package, since the spec file is also named gambas.spec.) The GUI parts (gambas IDE, database manager) require gbc and gba to be installed in your path, and possibly gbi as well. I think I also needed gbx to be installed. As such, you need your "gambas" package to be built first, and then installed, and *then* build the "gambas-gui" (or name it however you like) package. It's possible, if you're doing the wrong thing and building RPM's as root, that you can cheat and copy the four gb? executables into your path during the %build phase in preparation for the GUI stuff to be built, but that is definitely the WRONG way to do it and actually may result in an unusable IDE once an end user installs the resulting package. Rob From listes.godard at ...11... Mon Mar 15 15:16:14 2004 From: listes.godard at ...11... (Laurent Godard) Date: Mon, 15 Mar 2004 15:16:14 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <200403150834.15241.sourceforge-raindog2@...94...> References: <200403130950.42031.ronstk@...239...> <200403131557.58402.ronstk@...239...> <40555561.8080704@...11...> <200403150834.15241.sourceforge-raindog2@...94...> Message-ID: <4055BAAE.6090208@...11...> HI Rob, > Here's a free lesson, then :) Thanks a lot :) I'll remember your clear lesson Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From info at ...392... Mon Mar 15 16:37:16 2004 From: info at ...392... (Lin---s.be) Date: 15 Mar 2004 16:37:16 +0100 Subject: [Gambas-user] New Gambas user Message-ID: <1079365035.7459.9.camel@...393...> Hello everybody, I just wanted to introduce myself : I'm new to the linux-world. I used to develop with Windev (French) and '4D' also an unknown development language. I never learned Basic or VB, but i love Gambas. My opinion is that gambas is gonna stick on me. So, please bare with me if i ask stupid questions... I know that once i get thru the difficult start, everything is gonna work smooth. Greets to all, Andy Lin---s, because it's easyer to make a linux desktop version, than debugging Windows. From Rick_Helfgen at ...221... Mon Mar 15 17:17:03 2004 From: Rick_Helfgen at ...221... (Ricky Helfgen) Date: Mon, 15 Mar 2004 17:17:03 +0100 Subject: [Gambas-user] gambas 9.1 Message-ID: <1079367422.25652.3.camel@...280...> Hello, I had installed gambas 9.1 on my computer and before running I had this failure make[4]: Leaving directory `/home/blaubaer/gambas-0.91/src/lib/vb' make[4]: Entering directory `/home/blaubaer/gambas-0.91/src/lib' make[4]: F??r das Ziel ??all-am?? ist nichts zu tun. make[4]: Leaving directory `/home/blaubaer/gambas-0.91/src/lib' make[3]: Leaving directory `/home/blaubaer/gambas-0.91/src/lib' make[3]: Entering directory `/home/blaubaer/gambas-0.91/src' make[3]: F??r das Ziel ??all-am?? ist nichts zu tun. make[3]: Leaving directory `/home/blaubaer/gambas-0.91/src' make[2]: Leaving directory `/home/blaubaer/gambas-0.91/src' make[2]: Entering directory `/home/blaubaer/gambas-0.91' make[2]: F??r das Ziel ??all-am?? ist nichts zu tun. make[2]: Leaving directory `/home/blaubaer/gambas-0.91' make[1]: Leaving directory `/home/blaubaer/gambas-0.91' blaubaer at ...56...:~/gambas-0.91> gambas kbuildsycoca running... blaubaer at ...56...:~/gambas-0.91> Mutex destroy failure: Das Ger??t oder die Ressource ist belegt and too after running my computer shows my only gambas 0.9. I use Suse 9.0. So what is wrong ? Ricky From perrymou at ...370... Mon Mar 15 21:08:03 2004 From: perrymou at ...370... (pezz) Date: Mon, 15 Mar 2004 20:08:03 +0000 Subject: [Gambas-user] Listbox selected? Message-ID: <200403152008.03331.perrymou@...370...> Hi, In Visual basic you can do this with an extended Listbox: FOR n = 0 to List1.Listcount-1 IF List1.Selected(n)=TRUE THEN <action> ENDIF NEXT n Listbox1.Selected doesn't seem to work in Gambas. How do I process multiple selections in an extended listbox? Thanks From ronstk at ...239... Mon Mar 15 23:16:42 2004 From: ronstk at ...239... (ron) Date: Mon, 15 Mar 2004 23:16:42 +0100 Subject: [Gambas-user] Question Compiling gambas0.91 In-Reply-To: <200403150848.09934.sourceforge-raindog2@...94...> References: <200403151325.26433.ronstk@...239...> <200403150848.09934.sourceforge-raindog2@...94...> Message-ID: <200403152316.42094.ronstk@...239...> On Monday 15 March 2004 14:48, Rob wrote: strip > > > For `libtool --finish /opt/lib' I do not know how to fix that > > in the RPM yet. > > I don't know what this is, but would question whether it's a > showstopper. `libtool --finish /opt/lib' I think it runs the ldconfig program for the builded libraries. I have seen it before to do this job when libraries are build. > > > gbc: command not found > > gba: command not found > > cannot stat `gambas-database-manager': No such file or > > directory > > Here the gbc and gba command not found, > > `gambas-database-manager': No such file or directory > > These are also not good I think. > > Again I suggest that you look at my gambas and gambas-gui > src.rpm's for their spec files (be careful to backup your own > spec file before installing the gambas package, since the spec > file is also named gambas.spec.) The GUI parts (gambas IDE, > database manager) require gbc and gba to be installed in your > path, and possibly gbi as well. I think I also needed gbx to be > installed. > > As such, you need your "gambas" package to be built first, and > then installed, and *then* build the "gambas-gui" (or name it > however you like) package. It's possible, if you're doing the > wrong thing and building RPM's as root, that you can cheat and > copy the four gb? executables into your path during the %build > phase in preparation for the GUI stuff to be built, but that is > definitely the WRONG way to do it and actually may result in an > unusable IDE once an end user installs the resulting package. > > Rob Understanding that i must build it with 2 rpm's the first to get the real binary libs and executing programs and the second for the GUI and GDM. I will study your spec files first to see i'm right and try again. Ron From ronstk at ...239... Mon Mar 15 23:18:12 2004 From: ronstk at ...239... (ron) Date: Mon, 15 Mar 2004 23:18:12 +0100 Subject: [Gambas-user] New Gambas user In-Reply-To: <1079365035.7459.9.camel@...393...> References: <1079365035.7459.9.camel@...393...> Message-ID: <200403152318.12792.ronstk@...239...> On Monday 15 March 2004 16:37, Lin---s.be wrote: > Hello everybody, > > I just wanted to introduce myself : > > I'm new to the linux-world. I used to develop with Windev (French) and > '4D' also an unknown development language. > > I never learned Basic or VB, but i love Gambas. My opinion is that > gambas is gonna stick on me. > > > So, please bare with me if i ask stupid questions... I know that once i > get thru the difficult start, everything is gonna work smooth. > > > Greets to all, > > Andy > Lin---s, because it's easyer to make a linux desktop version, than > debugging Windows. > Welcome in the gambas auquarium :) -- Anyone who's watched the "time remaining" during a Windows installation or a large file copy ("...but it's been 3 minutes remaining for the past half hour!") knows that Microsoft uses their own, superior standards for time measurement, rather than slavishly adhering to those obsolete SI units. Hotmail was only down for 10 MS-minutes. 12-mrt-2004 From ronstk at ...239... Mon Mar 15 22:35:13 2004 From: ronstk at ...239... (ron) Date: Mon, 15 Mar 2004 22:35:13 +0100 Subject: [Gambas-user] mandrake packages for 0.91 In-Reply-To: <200403150024.48274.sourceforge-raindog2@...94...> References: <200403141457.50058.sourceforge-raindog2@...94...> <200403150327.13646.ronstk@...239...> <200403150024.48274.sourceforge-raindog2@...94...> Message-ID: <200403152235.14222.ronstk@...239...> On Monday 15 March 2004 06:24, Rob wrote: > I know, but nonetheless they are Mandrake RPM's, and Mandrake and > SuSE are about as different as two RPM-based linuxes can be. At > any rate, if you just download the src.rpm you should get a spec > file that works, even if it puts the files in non-SuSE-approved > places. I will look at them. i have both src.rpm now. > Generally speaking, it's a Bad Thing(tm) to build packages as > root. But soon "Build RPM..." should be available in the gambas > IDE and it will set up your home directory appropriately, at > least in theory ;) Where did I say as root? I think you determine it from the paths. I know but in the beginning I installed i.e. gambas from SuSE. No where to find until I look as root. Looonggg story I don't like to tell I 'hate' (minicase) them despite I beleave they are not so bad (M$). > > Rob > Ron From ronstk at ...239... Mon Mar 15 22:36:32 2004 From: ronstk at ...239... (ron) Date: Mon, 15 Mar 2004 22:36:32 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <40555561.8080704@...11...> References: <200403130950.42031.ronstk@...239...> <200403131557.58402.ronstk@...239...> <40555561.8080704@...11...> Message-ID: <200403152236.32831.ronstk@...239...> On Monday 15 March 2004 08:04, Laurent Godard wrote: > Hi Ron, > > > The result is > > bash: ./append.sh: /bin/sh: bad interpreter: Permission denied > > I don't know if tyour problem is solved, but did you check the > permisions of your file ? Is it executable with the current user > You may look at chmod fonction to make it executable > > chmod 777 ./append.sh > > As i'm a totally bneginner in unix environement, i may be wrong, though > > Laurent Hi Laurent, Yes I did set all the permissions as rwxrwxrwx and did it as root to be shure I have had it once before in another script, it disapeared so the reason is unknown, for a cron job and it worked. It happens even with two lines, the #!/bin/sh and a # do i work line. For other newbies: Make a script named 'mydir' to show a directory in my home directory #!/bin/bash ls / chmod 777 ./mydir Try and it runs ok move it to / and try, ok move it to /tmp try, ok move it to /data2 try, bad Puzzling what is wrong??? And then I get the light, my data1 ... 4 are mounted partitions ! Open fstab and see /dev/hda1 /data1 reiserfs auto,user,rw 0 0 /dev/hda3 /data2 auto auto,user,rw 0 0 /dev/hda7 /data3 reiserfs auto,user,rw 0 1 /dev/hda8 /data4 reiserfs auto,user,rw 0 0 As i'm right this tells me what is avialable on my system Open mtab and see /dev/hda1 /data1 reiserfs rw,noexec,nosuid,nodev 0 0 /devi/hda3 /data2 ext2 rw,noexec,nosuid,nodev 0 0 /dev/hda7 /data3 reiserfs rw,noexec,nosuid,nodev 0 0 /dev/hda8 /data4 reiserfs rw,noexec,nosuid,nodev 0 0 Aha 'noexec', that should be the problem. umount not working # umount -f /data2 umount2: Device or resource busy umount: /dev/hda3: not mounted umount: /data2: Illegal seek # mount /dev/hda1 on /data1 type reiserfs (rw,noexec,nosuid,nodev) /dev/hda3 on /data2 type ext2 (rw,noexec,nosuid,nodev) /dev/hda7 on /data3 type reiserfs (rw,noexec,nosuid,nodev) /dev/hda8 on /data4 type reiserfs (rw,noexec,nosuid,nodev) How do I remount /data2, the mount /data2 -remount, not working mount /data2 -o exec, not working I wil survive Ron From abidoo.too at ...11... Mon Mar 15 23:23:59 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 15 Mar 2004 23:23:59 +0100 Subject: [Gambas-user] just to say why i'm happy Message-ID: <200403152323.59286.abidoo.too@...11...> <fr> Fallais que je le dise ... bien sur l'anglais aurait ?t? meilleur mais insuffisant pour exprimer la joie que j'ai eu en utilisant la 0.91. L'auto-completion, est g?niale. C'est la premi?re fois que j'ai un ?diteur ou je n'ai pas besoin de bricoler la parenth?se de droite ou de gauche pour retrouver le tooltip de synthaxe. De plus pour des fonction imbriqu?e on retrouve le tips de la pr?c?dente d?s que l'on referme la premi?re... C'est peut ?tre pas grand chose ... mais que de temp gagn?. vraiment,.... aujourd'hui j'en suis rendu a faire des script en gambas... vivement le jour ou ce language sera par d?faut sur toute les distrib... 1) je m'excuse platement pour les 's' manquants (la fleme) </fr> google traduction : < en > Were necessary that I say it well... on English would have been better but insufficient to express the joy which I had by using the 0.91. The auto-completion, is brilliant. It is the first time that I have an editor or I do not need to arrange the bracket of right-hand side or left to find the tooltip synthaxe. Moreover for overlapping function one finds the tips the preceding one as soon as the first is closed again... It east can be not large thing... but that of temp gained. really.... today I am returned from there has to make script in gamba highly... the day or this language will be by defect on all the distrib... 1) I excuse myself flatly for ' the missing ones (the fleme) </en > From sourceforge-raindog2 at ...94... Mon Mar 15 21:03:55 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 15 Mar 2004 15:03:55 -0500 Subject: [Gambas-user] New Gambas user In-Reply-To: <1079365035.7459.9.camel@...393...> References: <1079365035.7459.9.camel@...393...> Message-ID: <200403151503.55405.sourceforge-raindog2@...94...> On Monday 15 March 2004 10:37, Lin---s.be wrote: > So, please bare with me if i ask stupid questions... I know > that once i get thru the difficult start, everything is gonna > work smooth. Welcome aboard, Mr. Lindash, we're happy to have you ;) Rob From gambas at ...1... Mon Mar 15 23:35:46 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 15 Mar 2004 23:35:46 +0100 Subject: [Gambas-user] Listbox selected? In-Reply-To: <200403152008.03331.perrymou@...370...> References: <200403152008.03331.perrymou@...370...> Message-ID: <200403152335.46248.gambas@...1...> On Monday 15 March 2004 21:08, pezz wrote: > Hi, > > In Visual basic you can do this with an extended Listbox: > > FOR n = 0 to List1.Listcount-1 > IF List1.Selected(n)=TRUE THEN > <action> > ENDIF > NEXT n > > Listbox1.Selected doesn't seem to work in Gambas. How do I process multiple > selections in an extended listbox? > > > Thanks > FOR n = 0 to List1.Count - 1 IF List1[n].Selected THEN <action> ENDIF NEXT Note: Comparing a boolean with TRUE or FALSE is useless. Test it directly! Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Mon Mar 15 22:44:45 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 15 Mar 2004 16:44:45 -0500 Subject: [Gambas-user] Listbox selected? In-Reply-To: <200403152008.03331.perrymou@...370...> References: <200403152008.03331.perrymou@...370...> Message-ID: <200403151644.45261.sourceforge-raindog2@...94...> On Monday 15 March 2004 15:08, pezz wrote: > FOR n = 0 to List1.Listcount-1 > IF List1.Selected(n)=TRUE THEN Hmmm.... how about IF List1[n].Selected THEN Give it a try.... Rob From ronstk at ...239... Mon Mar 15 22:47:13 2004 From: ronstk at ...239... (ron) Date: Mon, 15 Mar 2004 22:47:13 +0100 Subject: [Gambas-user] Linux files question and very of gambas topic In-Reply-To: <200403150834.15241.sourceforge-raindog2@...94...> References: <200403130950.42031.ronstk@...239...> <40555561.8080704@...11...> <200403150834.15241.sourceforge-raindog2@...94...> Message-ID: <200403152247.13899.ronstk@...239...> On Monday 15 March 2004 14:34, Rob wrote: > On Monday 15 March 2004 02:04, Laurent Godard wrote: > > chmod 777 ./append.sh > > As i'm a totally bneginner in unix environement, i may be > > wrong, though > > Here's a free lesson, then :) Don't go "chmod 777" unless you > know you absolutely have to, especially if the file is owned by > root. That lets any user on your machine alter that file, and > while you may think of your machine as being a single-user box, > if there were some previously unknown vulnerability in apache or > a mail server or xinetd or samba or etc., the exploiter would > have a place to put further exploit code in hopes of gaining > root access. > > chmod a+x will accomplish what you meant to do, should be a > little simpler for newbies to understand (add eXecute permission > for All) and doesn't open the file up to the world for writing. > > Rob > This is the same as chmod 666 file_to_set ? I was so stuipd to set the /data3 (partition) with noexecin fstab to protect this but that should be ro,exec in this case. See other mail I just send away. btw. this was/is the reason the wiki did not work, it was on the same drive! Ron From ronstk at ...239... Mon Mar 15 22:56:11 2004 From: ronstk at ...239... (ron) Date: Mon, 15 Mar 2004 22:56:11 +0100 Subject: [Gambas-user] gbirc In-Reply-To: <mnet1.1079336173.10958.danielcampos@...282...> References: <mnet1.1079336173.10958.danielcampos@...282...> Message-ID: <200403152256.11046.ronstk@...239...> On Monday 15 March 2004 12:36, danielcampos at ...282... wrote: > >Daniel: > >Did you try the given 4go.to link, did it work? > >If not then the rumors are maybe reality. :( > > I'm really sorry, but my home computer crashed just after > compiling Gambas 0.91, the processor is completely broken, > so until I buy a new computer I can't help very much. > > However, here at work I'm unable to access to that web > page too. > > Regards, > > Daniel Campos > > (The crash is not Gambas matter :-) > My left over peseta's can't help you I think. to less for a even a floppy disk :) Ron -- Anyone who's watched the "time remaining" during a Windows installation or a large file copy ("...but it's been 3 minutes remaining for the past half hour!") knows that Microsoft uses their own, superior standards for time measurement, rather than slavishly adhering to those obsolete SI units. Hotmail was only down for 10 MS-minutes. 12-mrt-2004 From abidoo.too at ...11... Mon Mar 15 23:05:46 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 15 Mar 2004 23:05:46 +0100 Subject: [Gambas-user] Listbox selected? In-Reply-To: <200403152008.03331.perrymou@...370...> References: <200403152008.03331.perrymou@...370...> Message-ID: <200403152305.46178.abidoo.too@...11...> Le Lundi 15 Mars 2004 21:08, pezz a ?crit : > Hi, > > In Visual basic you can do this with an extended Listbox: > > FOR n = 0 to List1.Listcount-1 > IF List1.Selected(n)=TRUE THEN > <action> > ENDIF > NEXT n > > Listbox1.Selected doesn't seem to work in Gambas. How do I process multiple > selections in an extended listbox? > > > Thanks hi pezz First gambas is a better object language than vb . The reason is gambas have a good synthaxe. Dim n as Integer FOR n = 0 TO ListBox1.Count - 1 IF ListBox1[i].Selected then <action> ENDIF Next That's all Fabien > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From abidoo.too at ...11... Mon Mar 15 23:11:05 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 15 Mar 2004 23:11:05 +0100 Subject: [Gambas-user] gbirc In-Reply-To: <BAY8-DAV19Aj5p1Fjxe00029193@...67...> References: <mnet1.1079336173.10958.danielcampos@...282...> <BAY8-DAV19Aj5p1Fjxe00029193@...67...> Message-ID: <200403152311.05236.abidoo.too@...11...> Le Lundi 15 Mars 2004 08:51, Henri Girard a ?crit : > I accessed the web site on sunday without anymore problem : > In french we say : no news good news ! > Tahnks by the way for your wonderfull work ! > Shang di ai bao you ni :) > Que Dieu amour nous b?nisse tous ! > HG > ----- Original Message ----- > From: <danielcampos at ...282...> > To: <gambas-user at lists.sourceforge.net> > Sent: Monday, March 15, 2004 9:36 AM > Subject: Re: Re: [Gambas-user] gbirc > > >Daniel: > >Did you try the given 4go.to link, did it work? > >If not then the rumors are maybe reality. :( > > I'm really sorry, but my home computer crashed just after > compiling Gambas 0.91, the processor is completely broken, > so until I buy a new computer I can't help very much. > > However, here at work I'm unable to access to that web > page too. > > Regards, > > Daniel Campos > > (The crash is not Gambas matter :-) > > ------------------------------------------------------------- > NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, > Toolbar... > Web/Wap : www.netcourrier.com > T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) > Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi all Leo say me that he is looking for a new provider... so be patient. Fabien From sourceforge-raindog2 at ...94... Mon Mar 15 23:59:17 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 15 Mar 2004 17:59:17 -0500 Subject: [Gambas-user] OT: Linux files question In-Reply-To: <200403152247.13899.ronstk@...239...> References: <200403130950.42031.ronstk@...239...> <200403150834.15241.sourceforge-raindog2@...94...> <200403152247.13899.ronstk@...239...> Message-ID: <200403151759.17826.sourceforge-raindog2@...94...> On Monday 15 March 2004 16:47, ron wrote: > > chmod a+x will accomplish what you meant to do, should be a > This is the same as chmod 666 file_to_set ? No, quite different. chmod 666 filename blows away all the permissions on the file, and replaces them with this: rw-rw-rw- meaning it's more like a-x. But not the same, because a+x and a-x only touch the x bit, leaving r and w as they were. chmod seems like magic to a lot of people, so here's a nutshell explanation of the numeric vs. the symbolic modes of chmod: You have three types of user (user, group and other) and three types of permission (read, write, and x for execute.) There are other kinds of permission but forget about those for now. You can add or remove permissions by using the first letter of the type of user and the first letter of the type of permission, with a plus or minus: o-r turns off read permission for others. ug+x turns on execute permission for everyone BUT others. ugo+rwx is equivalent to chmod 777 filename. That 777 thing is the numeric mode of chmod, and each digit refers to a set of permissions: first digit being user, second being group, third being other. You make the digits by adding together the read, write and execute bits like so: read is 4, write is 2, and execute is 1. It's called an "octal number" because each digit can only be 0 through 7, but just thinking of it as three separate digits jammed together and your head will hurt less. However, if you use the numeric mode, it will always get rid of whatever permissions a file has and replace them with those specified by your number. Like so: a file that's rw-rw-rw- (666) and you set it to 700 becomes: rwx------. a file that's rw------- (400) and you make it 777 becomes: rwxrwxrwx. a file that's rwxr-xr-x (755, what you would typically want a shell script or gambas executable to be) and you make it 000 becomes ---------. Oops! Now you can't write to it until you chmod it again. People who have a tough time wrapping their brains around the octal permissions should just avoid them and use the symbolic ones, and even more advanced users will use the symbolic modes when, for example, we want to make all the directories in a tree executable but none of the files (chmod -R a+X dirname.) Rob From ronstk at ...239... Tue Mar 16 01:37:48 2004 From: ronstk at ...239... (ron) Date: Tue, 16 Mar 2004 01:37:48 +0100 Subject: [Gambas-user] OT: Linux files question In-Reply-To: <200403151759.17826.sourceforge-raindog2@...94...> References: <200403130950.42031.ronstk@...239...> <200403152247.13899.ronstk@...239...> <200403151759.17826.sourceforge-raindog2@...94...> Message-ID: <200403160137.48148.ronstk@...239...> Oeps. This was a nice explaination. Now i understand why KDE 3.2 has a different property sheeft for the permisions. I think they do it now with the symbolic way instead the nummeric way in 3.14 and before. Thanks Ron From ronstk at ...239... Tue Mar 16 01:58:53 2004 From: ronstk at ...239... (ron) Date: Tue, 16 Mar 2004 01:58:53 +0100 Subject: [Gambas-user] just to say why i'm happy In-Reply-To: <200403152323.59286.abidoo.too@...11...> References: <200403152323.59286.abidoo.too@...11...> Message-ID: <200403160158.53419.ronstk@...239...> On Monday 15 March 2004 23:23, Fabien Bodard wrote: > returned from there has to make script in gamba highly... the day or this > language will be by defect on all the distrib... 1) I excuse myself flatly > for ' the missing ones (the fleme) </en > ' the day or this language will be by defect on all the distrib... ' The first DEFECT I realy WANT!!!!!!!!!!!!!!!!!! LOL Ron From eilert-sprachen at ...221... Tue Mar 16 08:35:03 2004 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 16 Mar 2004 08:35:03 +0100 Subject: [Gambas-user] I am the new one... Message-ID: <4056AE26.7040309@...221...> Hi everyone, as I'm new here just reading the list for a couple of days I'd guess it's time to introduce myself. I've been using several BASIC flavours since the early 80s (my first computer was a ZX81...) and despite some trials of Pascal, C, C++, Python etc. I have stuck with BASIC ever since. I coded the software for my firm (we run a private language school) and for that of my brother-in-law (granites import) in VB but soon I felt that I was heavily missing such a tool for Linux. Well, some days ago the problem seems to have been solved :-) Although I easily found my way through the basics of Gambas and understood the overall concept, there are many things I haven't found yet and I hope I'll find the answers here. Some time ago I was a member of the documentation team of KBasic which unfortunately died after its maintainer left it. As far as I could see, you have a WIKI for the documentation free for everyone to add articles. So when I will have learned enough about Gambas, I promise to add some stuff. For instance, I'm mostly missing examples for the explanations. Rolf-Werner Eilert From eilert-sprachen at ...221... Tue Mar 16 17:25:04 2004 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 16 Mar 2004 17:25:04 +0100 Subject: [Gambas-user] Dynamically changed arrays Message-ID: <40572A60.3070307@...221...> Hi, Somewhere in the documentation I found the "Java-style" arrays. Is that a means of replacing my favourite "redim preserve"? I'll give you an example (uncomplete code): dim ls$() 'open a file with handle fptr do while not eof(fptr) line input #fptr, t$ ctr = ctr + 1 redim preserve ls$(ctr) ls$(ctr)=t$ loop close #fptr Or something similar, I use this redim preserve always when I don't know how much data (mostly data lines or something like that) I will have to keep. From the hints in the docu I cannot possibly figure out how to use those Java-like arrays but it seems to be a way to use them for. Can someone help me? Regards Rolf From eilert-sprachen at ...221... Tue Mar 16 17:34:39 2004 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 16 Mar 2004 17:34:39 +0100 Subject: [Gambas-user] Stopping keyboard events Message-ID: <40572C9F.7070906@...221...> Hi, is it possible to examine keyboard events for a control (text area) and to kill them if necessary? I can examine them but do not find a way of killing them if needed. To let you have the background: A typewriting trainings program is to have the backspace key and any direction keys disabled while all letter keys may pass, enabling the user only to type in letters at the end of the text. In the TextArea1_KeyPress() I have if key.Code = key.BackSpace then and what do I do now? Regards Rolf From ronstk at ...239... Tue Mar 16 17:46:46 2004 From: ronstk at ...239... (ron) Date: Tue, 16 Mar 2004 17:46:46 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <40572A60.3070307@...221...> References: <40572A60.3070307@...221...> Message-ID: <200403161746.46556.ronstk@...239...> On Tuesday 16 March 2004 17:25, Eilert wrote: > Hi, > > Somewhere in the documentation I found the "Java-style" arrays. Is that > a means of replacing my favourite "redim preserve"? I'll give you an > example (uncomplete code): > > dim ls$() > > 'open a file with handle fptr > > do while not eof(fptr) > line input #fptr, t$ > ctr = ctr + 1 > redim preserve ls$(ctr) > ls$(ctr)=t$ > loop > > close #fptr > > Or something similar, I use this redim preserve always when I don't know > how much data (mostly data lines or something like that) I will have to > keep. > > From the hints in the docu I cannot possibly figure out how to use > those Java-like arrays but it seems to be a way to use them for. Can > someone help me? > > Regards > Rolf > More easy DIM t AS string DIM fptr AS INTEGER DIM ls AS string[] OPEN FileName FOR READ AS #fptr WHILE NOT Eof(fptr) LINE INPUT #fptr, t ls.add( t ) WEND CLOSE #fptr Ron From listes.godard at ...11... Tue Mar 16 17:53:28 2004 From: listes.godard at ...11... (Laurent Godard) Date: Tue, 16 Mar 2004 17:53:28 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <200403161746.46556.ronstk@...239...> References: <40572A60.3070307@...221...> <200403161746.46556.ronstk@...239...> Message-ID: <40573108.9000309@...11...> Hi ron, > > More easy > LINE INPUT #fptr, t > ls.add( t ) > yes it is :) What about multidimensional arrays ? dim ls(1 to 10, 1 to 100) ? Thansk for the response laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From sourceforge-raindog2 at ...94... Tue Mar 16 18:47:18 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 16 Mar 2004 12:47:18 -0500 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <40573108.9000309@...11...> References: <40572A60.3070307@...221...> <200403161746.46556.ronstk@...239...> <40573108.9000309@...11...> Message-ID: <200403161247.18823.sourceforge-raindog2@...94...> On Tuesday 16 March 2004 11:53, Laurent Godard wrote: > What about multidimensional arrays ? > dim ls(1 to 10, 1 to 100) ? Well, you can nest Java-style arrays as deep as you like, it's just not quite the same syntax and can get kinda crazy :) DIM i AS Integer DIM j AS Integer DIM ls AS NEW Object[] ' note you use object[] for all but last dimension DIM t AS String DIM tmp AS String[] FOR i = 1 TO 10 tmp = NEW String[] ls.add(tmp) FOR j = 1 TO 100 t = "item " & CStr(i) & ", " & CStr(j) ls[i-1].add(t) NEXT NEXT Message.Info(ls[Int(Rnd(1, 10))][Int(Rnd(1, 100))]) ' refer to elements like: ls[x][y] Rob From ronstk at ...239... Tue Mar 16 18:48:34 2004 From: ronstk at ...239... (ron) Date: Tue, 16 Mar 2004 18:48:34 +0100 Subject: [Gambas-user] Stopping keyboard events In-Reply-To: <40572C9F.7070906@...221...> References: <40572C9F.7070906@...221...> Message-ID: <200403161848.34738.ronstk@...239...> On Tuesday 16 March 2004 17:34, Eilert wrote: > Hi, > > is it possible to examine keyboard events for a control (text area) and > to kill them if necessary? > > I can examine them but do not find a way of killing them if needed. To > let you have the background: A typewriting trainings program is to have > the backspace key and any direction keys disabled while all letter keys > may pass, enabling the user only to type in letters at the end of the text. > > In the TextArea1_KeyPress() I have > > if key.Code = key.BackSpace then > > and what do I do now? > > > Regards > Rolf > Hi May be this wil help IF Key.Code = Key.BackSpace THEN STOP EVENT Ron From ronstk at ...239... Tue Mar 16 18:54:49 2004 From: ronstk at ...239... (ron) Date: Tue, 16 Mar 2004 18:54:49 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <40573108.9000309@...11...> References: <40572A60.3070307@...221...> <200403161746.46556.ronstk@...239...> <40573108.9000309@...11...> Message-ID: <200403161854.49270.ronstk@...239...> On Tuesday 16 March 2004 17:53, Laurent Godard wrote: > Hi ron, > > > More easy > > > > LINE INPUT #fptr, t > > ls.add( t ) > > yes it is :) > > What about multidimensional arrays ? > dim ls(1 to 10, 1 to 100) ? > > Thansk for the response > > laurent I must confess, No Idea. LINE INPUT #fptr, ls.add( t ) This is compacter but I don't know it works I thing it will do. btw the bash problem is solved. It was on a hd with noexec in fstab :( Ron From listes.godard at ...11... Tue Mar 16 19:55:45 2004 From: listes.godard at ...11... (Laurent Godard) Date: Tue, 16 Mar 2004 19:55:45 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <200403161247.18823.sourceforge-raindog2@...94...> References: <40572A60.3070307@...221...> <200403161746.46556.ronstk@...239...> <40573108.9000309@...11...> <200403161247.18823.sourceforge-raindog2@...94...> Message-ID: <40574DB1.3030504@...11...> Hi rob, > tmp = NEW String[] > ls.add(tmp) thanks i caught it :) same as some variants array handling in OpenOffice Basic thanks a lot for your repsonse Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From mauriiiii3001 at ...325... Tue Mar 16 20:03:22 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Tue, 16 Mar 2004 20:03:22 +0100 Subject: [Gambas-user] Create controls by code Message-ID: <40574F7A.604@...325...> Hi All, I was playing with Gambas and I needed to create an imagebox by code but I don't know how to do it! Someone of you know how to do it? I obviously need also to resize it and move it and obviosly I don't know how to do it :-( Thanks Maurizio From mauriiiii3001 at ...325... Tue Mar 16 20:04:23 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Tue, 16 Mar 2004 20:04:23 +0100 Subject: [Gambas-user] No menu Message-ID: <40574FB7.6050709@...325...> Hi All I'm already working on the Gmine game and I tried to create a menu on it but when I finished it and I tried to run it it told me that there was a Syntax error on the last line of the project, so I retried many times but nothing works, then I tried to create a menu on an empty project and it works. I really don't understand what's happening. P.S. here is the project Maurizio -------------- next part -------------- A non-text attachment was scrubbed... Name: Gmine-0.5a.tar.gz Type: application/gzip Size: 8819 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040316/4cf3784b/attachment.gz> From fiero74 at ...67... Tue Mar 16 20:41:58 2004 From: fiero74 at ...67... (-fiero -) Date: Tue, 16 Mar 2004 13:41:58 -0600 Subject: [Gambas-user] uppercase input Message-ID: <BAY9-F58QUM6H2HtlMp00004cad@...67...> An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040316/d27311bb/attachment.html> From fiero74 at ...67... Tue Mar 16 20:52:00 2004 From: fiero74 at ...67... (-fiero -) Date: Tue, 16 Mar 2004 13:52:00 -0600 Subject: [Gambas-user] closing form with esc Message-ID: <BAY9-F62MdOkTRhlQnN00004cd7@...67...> An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040316/1920f577/attachment.html> From sourceforge-raindog2 at ...94... Tue Mar 16 20:55:41 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 16 Mar 2004 14:55:41 -0500 Subject: [Gambas-user] uppercase input In-Reply-To: <BAY9-F58QUM6H2HtlMp00004cad@...67...> References: <BAY9-F58QUM6H2HtlMp00004cad@...67...> Message-ID: <200403161455.41570.sourceforge-raindog2@...94...> On Tuesday 16 March 2004 14:41, -fiero - wrote: > how can i accept only UPPERCASE chars input on a textbox ? It's easy to not accept any lowercase letters.... SUB TextArea1_KeyPress() if not key.text = Ucase(key.text) then stop event END But I don't think that's what you wanted. The following code will force all input to upper case: PUBLIC SUB TextBox1_Change() textbox1.Text = UCase(textbox1.text) END I would have expected cascading events from that, but it seems to work fine. Rob From sourceforge-raindog2 at ...94... Tue Mar 16 21:13:47 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 16 Mar 2004 15:13:47 -0500 Subject: [Gambas-user] closing form with esc In-Reply-To: <BAY9-F62MdOkTRhlQnN00004cd7@...67...> References: <BAY9-F62MdOkTRhlQnN00004cd7@...67...> Message-ID: <200403161513.47538.sourceforge-raindog2@...94...> On Tuesday 16 March 2004 14:52, -fiero - wrote: > can i close a form pressing the "ESC" key ??? Yes, but not with the vb code you posted. Make a button to close the form... doesn't matter what the button says on it.... put "me.close" in its Click event, and set its Cancel property to true. Then that button's click event will be fired when the user presses Esc, and the form will close. > the keyPress and keyDown event seems to not operate in a form, > why ? Currently, in gambas, each event only triggers one event handler, and if there is no event handler associated with the control that threw the event, it does not get passed up the hierarchy to the parent form. That is to say, the only way the form should get keypress events is if there are no controls on the form or they all somehow lose the focus. I'd like to see a KeyPreview property like in VB, PerlQt and Delphi/Kylix, but I can also understand why Benoit wouldn't want to do this. So meanwhile you can work around it by either doing the above (for the specific case of wanting to close the form with Esc) or with some nasty code, as follows: public sub Form_Keypress ' do something here end public sub Textbox1_Keypress ' do whatever the textbox needs to do, then.... Form_Keypress end You need to add that Form_Keypress to the Keypress event handler of EVERY control that can possibly get the focus. However, there must be a different way to do this as well because the Gambas IDE is written in Gambas, yet in most places you can press F5 and the project runs despite Key.F5 being checked in only one place. Rob From abidoo.too at ...11... Tue Mar 16 21:24:14 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Tue, 16 Mar 2004 21:24:14 +0100 Subject: [Gambas-user] Create controls by code In-Reply-To: <40574F7A.604@...325...> References: <40574F7A.604@...325...> Message-ID: <200403162124.14474.abidoo.too@...11...> Le Mardi 16 Mars 2004 20:03, Pozzo a ?crit : > Hi All, > I was playing with Gambas and I needed to create an imagebox by code but > I don't know how to do it! Someone of you know how to do it? I > obviously need also to resize it and move it and obviosly I don't know > how to do it :-( > > Thanks > > Maurizio > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi Maurizio so ... how to create dynamic control.... Hey welcome to gambas. //***** Private but as button Public SUB _New() but = New button(ME) as "Mybutton" but.move(1,1,30,20) but.text = "click me" but.Visible = true end PUBLIC SUB MyButton_Click() Message("MyButton is clicked") END //***** There is many and many way to use dynamiccontrol with gambas. Use the gambas help, to see all the feature. I can't explain all now, it's too boring. Tell me if you have other queston. Fabien From abidoo.too at ...11... Tue Mar 16 21:31:21 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Tue, 16 Mar 2004 21:31:21 +0100 Subject: [Gambas-user] just to say why i'm happy In-Reply-To: <200403160158.53419.ronstk@...239...> References: <200403152323.59286.abidoo.too@...11...> <200403160158.53419.ronstk@...239...> Message-ID: <200403162131.21925.abidoo.too@...11...> Le Mardi 16 Mars 2004 01:58, ron a ?crit : > On Monday 15 March 2004 23:23, Fabien Bodard wrote: > > returned from there has to make script in gamba highly... the day or this > > language will be by defect on all the distrib... 1) I excuse myself > > flatly for ' the missing ones (the fleme) </en > > > ' the day or this language will be by defect on all the distrib... ' > The first DEFECT I realy WANT!!!!!!!!!!!!!!!!!! > > LOL > > Ron > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user lol google traduction for default Fabien From gambas at ...1... Tue Mar 16 23:55:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 16 Mar 2004 23:55:07 +0100 Subject: [Gambas-user] closing form with esc In-Reply-To: <200403161513.47538.sourceforge-raindog2@...94...> References: <BAY9-F62MdOkTRhlQnN00004cd7@...67...> <200403161513.47538.sourceforge-raindog2@...94...> Message-ID: <200403162355.07865.gambas@...1...> On Tuesday 16 March 2004 21:13, Rob wrote: > On Tuesday 16 March 2004 14:52, -fiero - wrote: > > can i close a form pressing the "ESC" key ??? > > Yes, but not with the vb code you posted. > > Make a button to close the form... doesn't matter what the button > says on it.... put "me.close" in its Click event, and set its > Cancel property to true. Then that button's click event will be > fired when the user presses Esc, and the form will close. > > > the keyPress and keyDown event seems to not operate in a form, > > why ? > > Currently, in gambas, each event only triggers one event handler, > and if there is no event handler associated with the control > that threw the event, it does not get passed up the hierarchy to > the parent form. That is to say, the only way the form should > get keypress events is if there are no controls on the form or > they all somehow lose the focus. > > I'd like to see a KeyPreview property like in VB, PerlQt and > Delphi/Kylix, but I can also understand why Benoit wouldn't want > to do this. So meanwhile you can work around it by either doing > the above (for the specific case of wanting to close the form > with Esc) or with some nasty code, as follows: > > public sub Form_Keypress > ' do something here > end > > public sub Textbox1_Keypress > ' do whatever the textbox needs to do, then.... > Form_Keypress > end > > You need to add that Form_Keypress to the Keypress event handler > of EVERY control that can possibly get the focus. > > However, there must be a different way to do this as well because > the Gambas IDE is written in Gambas, yet in most places you can > press F5 and the project runs despite Key.F5 being checked in > only one place. > > Rob > This is undocumented feature: when a key is pressed, then it is propagated to the application main window (the first that was opened) as an accelerator key. Only the window menu sees it. The KeyPreview feature of VB does not exist. I didn't think about it yet, because I have no use of it. I don't know if implementing it is possible... Regards, -- Benoit Minisini mailto:gambas at ...1... From wrichf at ...159... Wed Mar 17 07:49:18 2004 From: wrichf at ...159... (Rich Falconburg) Date: Tue, 16 Mar 2004 23:49:18 -0700 Subject: [Gambas-user] Return values for gb.db Results Message-ID: <200403162349.19023.wrichf@...159...> Ok. It says that MoveNext and MovePrevious will return TRUE if there's no next record. How does one go about testing for this? I get type mismatch when testing the boolean condition as in: bRC = rResult.MoveNext It says "got function instead". Am I oversimplifying the test here? I'm sure I must be doing something wrong. Any help would be appreciated. I've not done BASIC stuff in a long time but it's amazing how fast it comes back to you. Already got a decent database frontend working but this little piece is creating some headaches. Thanks! -- Rich Falconburg wrichfATearthlink.net From gambas at ...1... Wed Mar 17 08:43:16 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 17 Mar 2004 08:43:16 +0100 Subject: [Gambas-user] Return values for gb.db Results In-Reply-To: <200403162349.19023.wrichf@...159...> References: <200403162349.19023.wrichf@...159...> Message-ID: <200403170843.16226.gambas@...1...> On Wednesday 17 March 2004 07:49, Rich Falconburg wrote: > Ok. It says that MoveNext and MovePrevious will return TRUE if there's no > next record. How does one go about testing for this? I get type mismatch > when testing the boolean condition as in: > > bRC = rResult.MoveNext > > It says "got function instead". Am I oversimplifying the test here? I'm > sure I must be doing something wrong. Any help would be appreciated. > > I've not done BASIC stuff in a long time but it's amazing how fast it > comes back to you. Already got a decent database frontend working but this > little piece is creating some headaches. > > Thanks! You must add the parenthesis when using a function call inside an expression: bRC = rResult.MoveNext() But you can type rResult.MoveNext without the parenthesis if you use it as a statement. Then the compiler transforms it in a function call automatically. Regards, -- Benoit Minisini mailto:gambas at ...1... From eilert-sprachen at ...221... Wed Mar 17 08:45:19 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 17 Mar 2004 08:45:19 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <200403161746.46556.ronstk@...239...> References: <40572A60.3070307@...221...> <200403161746.46556.ronstk@...239...> Message-ID: <4058020F.5000009@...221...> Hi Ron, > ls.add( t ) Aaaaaah :-) That's it! Thank you! By the way: > > DIM t AS string > DIM fptr AS INTEGER > DIM ls AS string[] are those variable declarations always confined to 1 item per line or can I add several variables by commas like DIM t, xyz, vzk AS STRING DIM i, j AS INTEGER As far as I could see, there is no way to make an implicit declaration by def, is it? So my usual "defint a-z" won't work in Gambas, right? > DIM fptr AS INTEGER shouldn't that read AS FILE in Gambas? > OPEN FileName FOR READ AS #fptr This got me reading the docu. Do you know what CREATE is good for? Usually, an APPEND for a non-existing file will create it anyway. Thanks a lot! Rolf From eilert-sprachen at ...221... Wed Mar 17 09:17:54 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 17 Mar 2004 09:17:54 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <200403161247.18823.sourceforge-raindog2@...94...> References: <40572A60.3070307@...221...> <200403161746.46556.ronstk@...239...> <40573108.9000309@...11...> <200403161247.18823.sourceforge-raindog2@...94...> Message-ID: <405809B2.6000801@...221...> Hi Rob, > just not quite the same syntax and can get kinda crazy :) That's correct. To me, this looks a bit confusing. I'd choose to build up kinda matrix if only the last dimension has to be changed (which is enough in 99 % of the cases) just like the ordinary REDIM PRESERVE does. Or maybe organizing the task in a different way so you have 1 dimension first and then spread the data to ordinary arrays when you know how many items exist. Regards Rolf From eilert-sprachen at ...221... Wed Mar 17 09:19:42 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 17 Mar 2004 09:19:42 +0100 Subject: [Gambas-user] Stopping keyboard events In-Reply-To: <200403161848.34738.ronstk@...239...> References: <40572C9F.7070906@...221...> <200403161848.34738.ronstk@...239...> Message-ID: <40580A1E.4040205@...221...> Hi Ron, > IF Key.Code = Key.BackSpace THEN STOP EVENT I stumbled over that somewhere in the documentation but couldn't remember it later. Thank you! Rolf From abidoo.too at ...11... Wed Mar 17 12:24:07 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Wed, 17 Mar 2004 12:24:07 +0100 Subject: [Gambas-user] Return values for gb.db Results In-Reply-To: <200403162349.19023.wrichf@...159...> References: <200403162349.19023.wrichf@...159...> Message-ID: <200403171224.07693.abidoo.too@...11...> Le Mercredi 17 Mars 2004 07:49, Rich Falconburg a ?crit : > Ok. It says that MoveNext and MovePrevious will return TRUE if there's no > next record. How does one go about testing for this? I get type mismatch > when testing the boolean condition as in: > > bRC = rResult.MoveNext > > It says "got function instead". Am I oversimplifying the test here? I'm > sure I must be doing something wrong. Any help would be appreciated. > > I've not done BASIC stuff in a long time but it's amazing how fast it > comes back to you. Already got a decent database frontend working but this > little piece is creating some headaches. > > Thanks! bRC = rResult.MoveNext() ... just add '()' Fabien From ronstk at ...239... Wed Mar 17 12:47:56 2004 From: ronstk at ...239... (ron) Date: Wed, 17 Mar 2004 12:47:56 +0100 Subject: [Gambas-user] Langage module in gambas IDE Message-ID: <200403171247.56936.ronstk@...239...> Hi Benoit, I had a look in the gambas IDE code the Language module. For me there is a strange thing with the 'en' group. As I'm understanding it right then the declarations are as follows i18n have 'en' = USA and 'en_GB' = United Kingdom You have 'en' = United Kingdom and 'en_US'=USA SuSE is using both as I found in some suseconfig files. 'en_US' in SuSE 8.2 KDE 3.1.1 and 'en_GB' in update KDE 3.1.4 May be that is the reason the Help was broken by many users after this upgrade. Bug number 61065 ------- Additional Comment #3 From Stephan Binner 2003-07-11 00:27 ------- I don't know if anybody cares if only SuSE's documentation is affected. :-) Some other programs are installing for several languages where the developer is nice to provide them and use 'en_GB' or as 'en_US', dependant on there distribution? Some help was only in 'en', as default for KDE packages, other only if 'en_GB' or 'en_US' was chosen. I suggest to use Name["en"] = ("English (common)") Name["en_GB"] = ("English (United Kingdom)") Name["en_US"] = ("English (U.S.A.)") Name["en_AU"] = ("English (Australia)") Name["en_CA"] = ("English (Canada)") Witch sound more correct to me, the logic between the braches the specific for country. Idea? Ron From ronstk at ...239... Wed Mar 17 14:14:27 2004 From: ronstk at ...239... (ron) Date: Wed, 17 Mar 2004 14:14:27 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <4058020F.5000009@...221...> References: <40572A60.3070307@...221...> <200403161746.46556.ronstk@...239...> <4058020F.5000009@...221...> Message-ID: <200403171414.27985.ronstk@...239...> On Wednesday 17 March 2004 08:45, Eilert wrote: > Hi Ron, > > > ls.add( t ) > > Aaaaaah :-) That's it! Thank you! > your welcome > By the way: > > DIM t AS string > > DIM fptr AS INTEGER > > DIM ls AS string[] > > are those variable declarations always confined to 1 item per line or > can I add several variables by commas like > > DIM t, xyz, vzk AS STRING > DIM i, j AS INTEGER As far i know the answer is No. 1 per line is the rule. > > As far as I could see, there is no way to make an implicit declaration > by def, is it? So my usual "defint a-z" won't work in Gambas, right? Yes you right. Nice to do things quick, without the 'Dim', but in Gambas you must always 'DIM' the variable with a type. In VB this is not required without 'Option explicit' > > > DIM fptr AS INTEGER > > shouldn't that read AS FILE in Gambas? Oeps, your right! > > > OPEN FileName FOR READ AS #fptr > > This got me reading the docu. Do you know what CREATE is good for? > Usually, an APPEND for a non-existing file will create it anyway. I didn't use FILE so much yet, I have to learn this to. These CREATE,APPEND are new for me. Version 0.90+ ? > > Thanks a lot! > > Rolf > Ron From eilert-sprachen at ...221... Wed Mar 17 15:58:14 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 17 Mar 2004 15:58:14 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <200403171414.27985.ronstk@...239...> References: <40572A60.3070307@...221...> <200403161746.46556.ronstk@...239...> <4058020F.5000009@...221...> <200403171414.27985.ronstk@...239...> Message-ID: <40586786.6050002@...221...> Hi Ron, >>DIM t, xyz, vzk AS STRING >>DIM i, j AS INTEGER > > As far i know the answer is No. 1 per line is the rule. That's a bit of a shame coz it takes a lot of space and is more difficult to read, especially when you have to use many variables. > These CREATE,APPEND are new for me. Version 0.90+ ? Ahem - yes :-) This thing from the website, compiled on a Suse 8.2. The database stuff is missing but I won't need that anyway. Rolf From sourceforge-raindog2 at ...94... Wed Mar 17 16:18:12 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 17 Mar 2004 10:18:12 -0500 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <40586786.6050002@...221...> References: <40572A60.3070307@...221...> <200403171414.27985.ronstk@...239...> <40586786.6050002@...221...> Message-ID: <200403171018.12845.sourceforge-raindog2@...94...> On Wednesday 17 March 2004 09:58, Eilert wrote: > >>DIM t, xyz, vzk AS STRING > >>DIM i, j AS INTEGER > > As far i know the answer is No. 1 per line is the rule. > That's a bit of a shame coz it takes a lot of space and is > more difficult to read, especially when you have to use many > variables. I agree. I don't know enough about Gambas internals yet to submit a patch, but I hope to eventually. I'm pretty comfortable with Gambas requiring all variables to be declared though; it makes a lot of newbie mistakes and typos MUCH easier to avoid. VB not requiring variable declaration by default is a disservice to new programmers. (It's not just VB; when it's time for me to release Perl code I also have to go through the "use strict and tweak till it compiles again" procedure because I always forget at the beginning.) Rob From danielcampos at ...282... Wed Mar 17 15:55:55 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Wed, 17 Mar 2004 15:55:55 CET Subject: [Gambas-user] Dynamically changed arrays Message-ID: <mnet1.1079535354.26952.danielcampos@...282...> >DIM t, xyz, vzk AS STRING Note that, using VB, t is variant, xyz is variant and vzk is string, if you want 3 strings, type: Dim t as string, xyz as String, vzk As String :-)) ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From eilert-sprachen at ...221... Wed Mar 17 18:00:55 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 17 Mar 2004 18:00:55 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <200403171018.12845.sourceforge-raindog2@...94...> References: <40572A60.3070307@...221...> <200403171414.27985.ronstk@...239...> <40586786.6050002@...221...> <200403171018.12845.sourceforge-raindog2@...94...> Message-ID: <40588447.7080102@...221...> Hi Rob, > I'm pretty comfortable with Gambas requiring all variables to be > declared though; it makes a lot of newbie mistakes and typos 100 % agree, I have an Option Explicit in all modules in VB to avoid confusion. But now I found another problem: DIM i AS INTEGER is ok, no problem, but STATIC x AS INTEGER doesn't run, it says "syntax error". I tried STATIC PRIVATE x AS INTEGER but it won't run, too. I need static variables that keep their contents to the next call of the sub or function, and that is what it's supposed to do, isn't it? Or did I get that somewhat wrong? The text in the docu isn't quite clear about this. Rolf From sourceforge-raindog2 at ...94... Wed Mar 17 18:13:19 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 17 Mar 2004 12:13:19 -0500 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <40588447.7080102@...221...> References: <40572A60.3070307@...221...> <200403171018.12845.sourceforge-raindog2@...94...> <40588447.7080102@...221...> Message-ID: <200403171213.19608.sourceforge-raindog2@...94...> On Wednesday 17 March 2004 12:00, Eilert wrote: > STATIC x AS INTEGER > doesn't run, it says "syntax error". I tried > STATIC PRIVATE x AS INTEGER Static and public/private variables are defined at the class level. You need to put those outside your function, at the beginning of the class module. "DIM" is just a way to define a local variable used only within the context of the function in which it's defined: if it's a static function it will be a static private variable, if not, it'll be a dynamic private variable. (Note that it's not REALLY a private variable, it's a local variable which is still more private than PRIVATE, but I just put it that way so you could see what they were analogous to.) Rob From eilert-sprachen at ...221... Wed Mar 17 18:07:09 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 17 Mar 2004 18:07:09 +0100 Subject: [Gambas-user] STATIC doesn't work? Message-ID: <405885BD.9040506@...221...> Hi, I repeat this questions as not everyone may have followed my thread with Rob. So here is my point: DIM i AS INTEGER is ok, no problem, but STATIC x AS INTEGER doesn't run, it says "syntax error". I tried STATIC PRIVATE x AS INTEGER but it won't run, too. I need static variables that keep their contents to the next call of the sub or function, and that is what it's supposed to do, isn't it? Or did I get that somewhat wrong? The text in the docu isn't quite clear about this. Rolf From eilert-sprachen at ...221... Wed Mar 17 18:12:12 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 17 Mar 2004 18:12:12 +0100 Subject: [Gambas-user] Looking for a toolbar / menu question Message-ID: <405886EC.2070905@...221...> Hi folks, is there a toolbar in Gambas? I didn't find one and tried the panel instead. It does the job, but it isn't a toolbar. Above all, the look isn't that of toolbars in KDE. Maybe there hasn't any toolbar been defined yet? One thing about menues: How can I insert a line to divide several items? Rolf From sourceforge-raindog2 at ...94... Wed Mar 17 18:22:36 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 17 Mar 2004 12:22:36 -0500 Subject: [Gambas-user] STATIC doesn't work? Message-ID: <200403171222.36830.sourceforge-raindog2@...94...> > I repeat this questions as not everyone may have followed my > thread with Rob. So here is my point: And I repeat my answer, just in case ;) On Wednesday 17 March 2004 12:00, Eilert wrote: > STATIC x AS INTEGER > doesn't run, it says "syntax error". I tried > STATIC PRIVATE x AS INTEGER Static and public/private variables are defined at the class level. You need to put those outside your function, at the beginning of the class module. "DIM" is just a way to define a local variable used only within the context of the function in which it's defined: if it's a static function it will be a static private variable, if not, it'll be a dynamic private variable. (Note that it's not REALLY a private variable, it's a local variable which is still more private than PRIVATE, but I just put it that way so you could see what they were analogous to.) Rob ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op =click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------- From wrichf at ...159... Wed Mar 17 18:27:04 2004 From: wrichf at ...159... (Rich Falconburg) Date: Wed, 17 Mar 2004 10:27:04 -0700 Subject: [Gambas-user] Return values for gb.db Results In-Reply-To: <200403170843.16226.gambas@...1...> References: <200403162349.19023.wrichf@...159...> <200403170843.16226.gambas@...1...> Message-ID: <200403171027.05138.wrichf@...159...> On Wednesday 17 March 2004 12:43 am, Benoit Minisini wrote: > On Wednesday 17 March 2004 07:49, Rich Falconburg wrote: > > Ok. It says that MoveNext and MovePrevious will return TRUE if there's > > no next record. How does one go about testing for this? I get type > > mismatch when testing the boolean condition as in: > > > > bRC = rResult.MoveNext > > > > It says "got function instead". Am I oversimplifying the test here? > > I'm sure I must be doing something wrong. Any help would be appreciated. > > > > I've not done BASIC stuff in a long time but it's amazing how fast it > > comes back to you. Already got a decent database frontend working but > > this little piece is creating some headaches. > > > > Thanks! > > You must add the parenthesis when using a function call inside an > expression: bRC = rResult.MoveNext() > > But you can type rResult.MoveNext without the parenthesis if you use it as > a statement. Then the compiler transforms it in a function call > automatically. > > Regards, *sigh* It's always the little things that get you. Told you I'd been away from it for a while ;) Thanks Benoit and thank you for an excellent programming environment. Nice work on the IDE. -- Rich Falconburg wrichf at ...159... From zerkowski at ...395... Wed Mar 17 18:33:47 2004 From: zerkowski at ...395... (zerkowski sur bouquiniste.biz) Date: Wed, 17 Mar 2004 18:33:47 +0100 Subject: [Gambas-user] form child Message-ID: <40588BFB.6070202@...395...> Hello, I'm a new user with Gambas - I've 2 forms, form1 and form2 . Now, i know how to call form2 with a button in form1 with : "form2.show" But in fact i want form2 to be 'open' in form1 . Maybe we call that "child from" ? How can i do this. Excuse my bad English. Thanks. From wrichf at ...159... Wed Mar 17 18:34:38 2004 From: wrichf at ...159... (Rich Falconburg) Date: Wed, 17 Mar 2004 10:34:38 -0700 Subject: [Gambas-user] Return values for gb.db Results In-Reply-To: <200403171224.07693.abidoo.too@...11...> References: <200403162349.19023.wrichf@...159...> <200403171224.07693.abidoo.too@...11...> Message-ID: <200403171034.38441.wrichf@...159...> On Wednesday 17 March 2004 4:24 am, Fabien Bodard wrote: > Le Mercredi 17 Mars 2004 07:49, Rich Falconburg a ?crit : > > Ok. It says that MoveNext and MovePrevious will return TRUE if there's > > no next record. How does one go about testing for this? I get type > > mismatch when testing the boolean condition as in: > > > > bRC = rResult.MoveNext > > > > It says "got function instead". Am I oversimplifying the test here? > > I'm sure I must be doing something wrong. Any help would be appreciated. > > > > I've not done BASIC stuff in a long time but it's amazing how fast it > > comes back to you. Already got a decent database frontend working but > > this little piece is creating some headaches. > > > > Thanks! > > bRC = rResult.MoveNext() ... just add '()' > > Fabien > Thanks. As I said, I'm a bit rusty. Should have caught that one. BTW, shouldn't this work with WHILE as in WHILE rResult.MoveNext() IF is just fine but using WHILE it stops after moving one record and I don't think it should. The condition remains True so it should work. Just curious. Rich -- Rich Falconburg wrichf at ...159... From gambas at ...1... Wed Mar 17 18:57:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 17 Mar 2004 18:57:48 +0100 Subject: [Gambas-user] STATIC doesn't work? In-Reply-To: <405885BD.9040506@...221...> References: <405885BD.9040506@...221...> Message-ID: <200403171857.48255.gambas@...1...> On Wednesday 17 March 2004 18:07, Eilert wrote: > Hi, > > I repeat this questions as not everyone may have followed my thread with > Rob. So here is my point: > > DIM i AS INTEGER > > is ok, no problem, but > > STATIC x AS INTEGER > > doesn't run, it says "syntax error". I tried > At the moment, in Gambas, you can't define static local variables. You must use a class or module private variable instead. Actually, static local variables are exactly the same thing that private class variables, except that two static local variables can have the same name provided they are located in two different functions. It is just syntactic sugar :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Mar 17 18:58:47 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 17 Mar 2004 18:58:47 +0100 Subject: [Gambas-user] Looking for a toolbar / menu question In-Reply-To: <405886EC.2070905@...221...> References: <405886EC.2070905@...221...> Message-ID: <200403171858.47324.gambas@...1...> On Wednesday 17 March 2004 18:12, Eilert wrote: > Hi folks, > > is there a toolbar in Gambas? I didn't find one and tried the panel > instead. It does the job, but it isn't a toolbar. Above all, the look > isn't that of toolbars in KDE. > > Maybe there hasn't any toolbar been defined yet? You got it, there is no toolbar yet! > > One thing about menues: How can I insert a line to divide several items? Just create a menu with a void text. -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Wed Mar 17 20:20:30 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 17 Mar 2004 14:20:30 -0500 Subject: [Gambas-user] Return values for gb.db Results In-Reply-To: <200403171034.38441.wrichf@...159...> References: <200403162349.19023.wrichf@...159...> <200403171224.07693.abidoo.too@...11...> <200403171034.38441.wrichf@...159...> Message-ID: <200403171420.30003.sourceforge-raindog2@...94...> On Wednesday 17 March 2004 12:34, Rich Falconburg wrote: > Thanks. As I said, I'm a bit rusty. Should have caught > that one. BTW, shouldn't this work with WHILE as in > WHILE rResult.MoveNext() It works the opposite as you would expect, returning False when it succeeds and True when it reaches the end of file. WHILE NOT rResult.MoveNext() I learned this idiom myself recently. Rob From ZENODotus at ...323... Thu Mar 18 01:43:58 2004 From: ZENODotus at ...323... (ZENODotus) Date: Thu, 18 Mar 2004 01:43:58 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <mnet1.1079535354.26952.danielcampos@...282...> References: <mnet1.1079535354.26952.danielcampos@...282...> Message-ID: <200403180143.58627.ZENODotus@...323...> Op woensdag 17 maart 2004 19:55, schreef danielcampos at ...282...: > >DIM t, xyz, vzk AS STRING > > Note that, using VB, t is variant, xyz is variant and vzk is string, > if you want 3 strings, type: > > Dim t as string, xyz as String, vzk As String > > :-)) I haven't followed this discussion, but I just jump right in... In VB.net dim t, xyz, vzk as string, means al three or from the type String... > > ------------------------------------------------------------- > NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, > Toolbar... Web/Wap : www.netcourrier.com > T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) > Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op?k > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- ZENODotus, YOU DREAM, I REALISE!! "Never trust a computer you can't trow out a window" - Steve Wozniak mailto:zenodotus at ...323... From ZENODotus at ...323... Thu Mar 18 01:46:02 2004 From: ZENODotus at ...323... (ZENODotus) Date: Thu, 18 Mar 2004 01:46:02 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <40588447.7080102@...221...> References: <40572A60.3070307@...221...> <200403171018.12845.sourceforge-raindog2@...94...> <40588447.7080102@...221...> Message-ID: <200403180146.02123.ZENODotus@...323...> Op woensdag 17 maart 2004 18:00, schreef Eilert: > Hi Rob, > > > I'm pretty comfortable with Gambas requiring all variables to be > > declared though; it makes a lot of newbie mistakes and typos > > 100 % agree, I have an Option Explicit in all modules in VB to avoid > confusion. > Absolutely... A mistake that is corrected in vb.net, where you have to declare all your variables... (or you have to use Option Implicit, or something, I wonder if any one uses that ;-)) From wrichf at ...159... Thu Mar 18 02:29:16 2004 From: wrichf at ...159... (Rich Falconburg) Date: Wed, 17 Mar 2004 18:29:16 -0700 Subject: [Gambas-user] Return values for gb.db Results In-Reply-To: <200403171420.30003.sourceforge-raindog2@...94...> References: <200403162349.19023.wrichf@...159...> <200403171034.38441.wrichf@...159...> <200403171420.30003.sourceforge-raindog2@...94...> Message-ID: <200403171829.17010.wrichf@...159...> On Wednesday 17 March 2004 12:20 pm, Rob wrote: > On Wednesday 17 March 2004 12:34, Rich Falconburg wrote: > > Thanks. As I said, I'm a bit rusty. Should have caught > > that one. BTW, shouldn't this work with WHILE as in > > WHILE rResult.MoveNext() > > It works the opposite as you would expect, returning False when > it succeeds and True when it reaches the end of file. > > WHILE NOT rResult.MoveNext() > > I learned this idiom myself recently. > > Rob > I tried it both ways. With the NOT (I think) it would not move at all. Ah well. The IF test works just fine. FWIW I set up a boolean variable and printed it's value to see what was actually coming back. I got True until it hit the last record and, as expected, it switched to False. I think the docs may be wrong. -- Rich Falconburg wrichf at ...159... From sourceforge-raindog2 at ...94... Thu Mar 18 04:59:26 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 17 Mar 2004 22:59:26 -0500 Subject: [Gambas-user] Return values for gb.db Results In-Reply-To: <200403171829.17010.wrichf@...159...> References: <200403162349.19023.wrichf@...159...> <200403171420.30003.sourceforge-raindog2@...94...> <200403171829.17010.wrichf@...159...> Message-ID: <200403172259.26974.sourceforge-raindog2@...94...> On Wednesday 17 March 2004 20:29, Rich Falconburg wrote: > FWIW I set up a boolean variable and printed it's value to > see what was actually coming back. I got True until it hit > the last record and, as expected, it switched to False. I > think the docs may be wrong. I was wrong, the MoveNext() I was thinking of was the ColumnView method, which *does* return false on success, and not the Result one. Sorry :) However, you or someone may find this helpful (working code, from the same program in which I used the Columnview movenext: ' res is declared as a result object DO WHILE res.available ' do stuff with data in res res.movenext LOOP If you think of .Available as being the opposite of the VB/ADO EOF property, it's pretty easy to map your skills over. Rob From wrichf at ...159... Thu Mar 18 06:52:55 2004 From: wrichf at ...159... (Rich Falconburg) Date: Wed, 17 Mar 2004 22:52:55 -0700 Subject: [Gambas-user] Return values for gb.db Results In-Reply-To: <200403172259.26974.sourceforge-raindog2@...94...> References: <200403162349.19023.wrichf@...159...> <200403171829.17010.wrichf@...159...> <200403172259.26974.sourceforge-raindog2@...94...> Message-ID: <200403172252.55538.wrichf@...159...> On Wednesday 17 March 2004 8:59 pm, Rob wrote: > On Wednesday 17 March 2004 20:29, Rich Falconburg wrote: > > FWIW I set up a boolean variable and printed it's value to > > see what was actually coming back. I got True until it hit > > the last record and, as expected, it switched to False. I > > think the docs may be wrong. > > I was wrong, the MoveNext() I was thinking of was the ColumnView > method, which *does* return false on success, and not the Result > one. Sorry :) > > However, you or someone may find this helpful (working code, from > the same program in which I used the Columnview movenext: > > ' res is declared as a result object > > DO WHILE res.available > ' do stuff with data in res > res.movenext > LOOP > > If you think of .Available as being the opposite of the VB/ADO > EOF property, it's pretty easy to map your skills over. > > Rob Ah. That makes sense. I do vaguely remember arguing with VB over that one too. I've made good progress so far. The only thing I'm wrestling with now is a column update. Seems it's not as forgiving as the create. For one thing, I ended up with zeros for my date. Still working on it. I've been delighted at how easy it's been to build a DB frontend with Gambas. Very nice and it even looks good ;) -- Rich Falconburg wrichf at ...159... From eilert-sprachen at ...221... Thu Mar 18 08:23:49 2004 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 18 Mar 2004 08:23:49 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <mnet1.1079535354.26952.danielcampos@...282...> References: <mnet1.1079535354.26952.danielcampos@...282...> Message-ID: <40594E85.9020106@...221...> Daniel - danielcampos at ...282... schrieb: >>DIM t, xyz, vzk AS STRING > > > Note that, using VB, t is variant, xyz is variant and vzk is string, Yes, but in VB I usually do it this way: option explicit defint a-z sub something dim i,j,k 'integers for counting dim t$, x$ 'for string handling program text end sub and if it's not too much, I even write dim i, j, t$, po which gives me 3 integers and one string. In order to make a difference between those standard variables used in almost all functions/subs, I make another line for extraordinary ones: dim i, j, t$, po, x$ dim message as boolean dim ls$() static oldValue, newValue Being forced to define single variables on a line in Gambas, I might use it for commenting the variables. Maybe that will make sense. Otherwise, the comma separated ones are a bit more compact, and in most cases you won't need comments for them because it is programmer's practice to name them in a usual way (i, j, t$, or so). - Rolf From eilert-sprachen at ...221... Thu Mar 18 08:32:12 2004 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 18 Mar 2004 08:32:12 +0100 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <200403171213.19608.sourceforge-raindog2@...94...> References: <40572A60.3070307@...221...> <200403171018.12845.sourceforge-raindog2@...94...> <40588447.7080102@...221...> <200403171213.19608.sourceforge-raindog2@...94...> Message-ID: <4059507C.7000107@...221...> Rob - Rob schrieb: > On Wednesday 17 March 2004 12:00, Eilert wrote: > Static and public/private variables are defined at the class > level. You need to put those outside your function, at the > beginning of the class module. Ok, that's no problem. It should, however, be mentioned in the documentation. > > "DIM" is just a way to define a local variable used only within > the context of the function in which it's defined: if it's a Alright. > static function it will be a static private variable, if not, > it'll be a dynamic private variable. (Note that it's not REALLY I've never worked with static functions, but it might be necessary now. > a private variable, it's a local variable which is still more > private than PRIVATE, but I just put it that way so you could > see what they were analogous to.) I do not completely understand what you mean "more private than PRIVATE". Maybe we should really add a few examples to the documentation to avoid beginners running into trouble with it. Now that Gambas is nearly at 1.0 it's important everyone willing to test it has a chance to understand the mystical differences between VB and Gambas (I guess most folks trying Gambas come from VB). - Rolf From eilert-sprachen at ...221... Thu Mar 18 08:40:00 2004 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 18 Mar 2004 08:40:00 +0100 Subject: [Gambas-user] STATIC doesn't work? In-Reply-To: <200403171857.48255.gambas@...1...> References: <405885BD.9040506@...221...> <200403171857.48255.gambas@...1...> Message-ID: <40595250.4080004@...221...> Benoit - Benoit Minisini schrieb: > On Wednesday 17 March 2004 18:07, Eilert wrote: > > use a class or module private variable instead. Actually, static local That's no problem, I'll try to adapt my code to this. > variables are exactly the same thing that private class variables, except > that two static local variables can have the same name provided they are > located in two different functions. It is just syntactic sugar :-) Yes, sometimes it is practical, however not absolutely necessary. But as I mentioned with Rob, it should be explained somewhere. Is there someone in charge of the documentation? - Rolf From eilert-sprachen at ...221... Thu Mar 18 08:43:07 2004 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 18 Mar 2004 08:43:07 +0100 Subject: [Gambas-user] Looking for a toolbar / menu question In-Reply-To: <200403171858.47324.gambas@...1...> References: <405886EC.2070905@...221...> <200403171858.47324.gambas@...1...> Message-ID: <4059530B.4010003@...221...> Benoit Minisini schrieb: > You got it, there is no toolbar yet! Ok, so I can stop searching for it :-) > Just create a menu with a void text. Oh, so simple :-O Thank you, I'll try that! I've started a concrete project to get to know Gambas. Up to now, I am very impressed about some of the concepts. Let's see how I get along with the task. Rolf From danielcampos at ...282... Thu Mar 18 08:39:08 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 18 Mar 2004 08:39:08 CET Subject: [Gambas-user] Dynamically changed arrays Message-ID: <mnet1.1079595548.20239.danielcampos@...282...> >I haven't followed this discussion, but I just jump right in... > >In VB.net >dim t, xyz, vzk as string, means al three or from the type String... > Good remark: Yes, I was speaking about VB6,5..., VB.Net does not have a Variant type, as it is a 'C# clone' :-) Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From danielcampos at ...282... Thu Mar 18 08:45:33 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 18 Mar 2004 08:45:33 CET Subject: [Gambas-user] speaking about variables... Message-ID: <mnet2.1079595933.20239.danielcampos@...282...> Hi: These days we're talking a lot about variable declarations, and there's a thing in VB that I hate a lot. If you use a C,C++,C# or Pascal compiler, it warns you about unused variables, which is quite useful to clean the code, after changes, usually made with few time. In VB, you can define a hundred variables, but nothing happens... May be the 'make exectuble' option of the IDE, should report unused variables... Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From ronstk at ...239... Thu Mar 18 09:37:56 2004 From: ronstk at ...239... (ron) Date: Thu, 18 Mar 2004 09:37:56 +0100 Subject: [Gambas-user] Problem: New Class UI gives dead mouse Message-ID: <200403180937.56446.ronstk@...239...> Hi, In the project list RMB, Create new Class. I select in the textbox with 'Class1' to overwrite it with my name for the class, accidently I moved my mouse and get a forbidden icon. It seams to me a dnd operation is started and the mouse is dead. Can try to click on every thing on the desktop but nothing happens. With the tab key you can t the cancel button and press space bar. After that all is working normal again. May be a bug? Ron From eilert-sprachen at ...221... Thu Mar 18 10:14:14 2004 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 18 Mar 2004 10:14:14 +0100 Subject: [Gambas-user] STATIC doesn't work? In-Reply-To: <200403171857.48255.gambas@...1...> References: <405885BD.9040506@...221...> <200403171857.48255.gambas@...1...> Message-ID: <40596866.1000203@...221...> Hi Benoit, >>STATIC x AS INTEGER > At the moment, in Gambas, you can't define static local variables. You must > use a class or module private variable instead. Actually, static local Rethinking the item and browsing through the original VB code, I find a contradiction: is it sensible to have a variable declared as STATIC for a module? When declared with DIM the variable will live and hold its value for the whole time the program is running (i. e. the module/class is loaded) anyway. Or is this "VB thinking"? :-) Rolf From ronstk at ...239... Thu Mar 18 10:47:29 2004 From: ronstk at ...239... (ron) Date: Thu, 18 Mar 2004 10:47:29 +0100 Subject: [Gambas-user] REQ: Modified module re-read Message-ID: <200403181047.29992.ronstk@...239...> Hi Benoit, I was looking in a ready class module and see at the moment I wishes to close the 'modified' in title bar. I had no intention to edit anything in this class so a undo could be appropriate but the modified stays on. Closing the window minimise only to the gambas taskbar and stay in modified state. Only when you close gambas total you get a message that there are changed files with the option 'Save' , 'Quit' or 'Cancel'. It would be nice to have in the editor a possibility to re-read the original again and reset the modified state so a normal close of the windows works In the menubar 'View' you can close all windows, is a idea to close the 'Properties' and 'Toolbox' works too? Ron From sourceforge-raindog2 at ...94... Thu Mar 18 14:42:56 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 18 Mar 2004 08:42:56 -0500 Subject: [Gambas-user] Dynamically changed arrays In-Reply-To: <4059507C.7000107@...221...> References: <40572A60.3070307@...221...> <200403171213.19608.sourceforge-raindog2@...94...> <4059507C.7000107@...221...> Message-ID: <200403180842.56911.sourceforge-raindog2@...94...> On Thursday 18 March 2004 02:32, Eilert wrote: > > a private variable, it's a local variable which is still > > more private than PRIVATE, but I just put it that way so you > > could see what they were analogous to.) > I do not completely understand what you mean "more private > than PRIVATE". Maybe we should really add a few examples to Well, PRIVATE declares a variable whose scope is the class or module in which it's declared. DIM declares a variable whose scope is the sub or function in which it's declared, and it's not visible to the rest of the class or module. So, DIM makes a variable that's more private than PRIVATE. Rob From ronstk at ...239... Thu Mar 18 17:55:42 2004 From: ronstk at ...239... (ron) Date: Thu, 18 Mar 2004 17:55:42 +0100 Subject: [Gambas-user] Bug: FEditor Message-ID: <200403181755.42257.ronstk@...239...> Hallo Benoit I had several times an error in FEditor with fatal result and closing all without it is saved. :( Function is IsCurrentProc() line 598 ------------------ FOR iPos = 0 TO aLine.Count - 1 ..... IF aLine[iPos] = "FUNCTION" THEN bProc = TRUE BREAK ENDIF ... NEXT IF bProc THEN $sName = aLine[iPos + 1] '<----------- 598 RETURN bProc END ------------------ I do not know when exactly this function runs but asuming FUNCTION can be the last line then iPos is already at the last line With the BREAK in continues after NEXT bProc=True and then iPos + 1 is out of bounds ! -------------- next part -------------- A non-text attachment was scrubbed... Name: out_bound_error.png Type: image/png Size: 7683 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040318/e7c4e6dc/attachment.png> From ronstk at ...239... Thu Mar 18 20:13:40 2004 From: ronstk at ...239... (ron) Date: Thu, 18 Mar 2004 20:13:40 +0100 Subject: [Gambas-user] REQ: Completion Message-ID: <200403182013.40334.ronstk@...239...> Hi, Completion works on Public items but should it not also work on Private items inside the same class? Ron From ronstk at ...239... Thu Mar 18 20:37:20 2004 From: ronstk at ...239... (ron) Date: Thu, 18 Mar 2004 20:37:20 +0100 Subject: [Gambas-user] BUG: Find/Replace case Message-ID: <200403182037.20674.ronstk@...239...> Hi, I have in the code names with uppercase and lowercase like MyTest and mytest and decide it should be MyProg During the search for Test to replace with Prog it finds Test and test but the replace is only for Test. The checkmark for case sensitive is off after open the F/R box and not touched. In fact they are all off. grts Ron From Karl.Reinl at ...9... Thu Mar 18 21:10:28 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 18 Mar 2004 21:10:28 +0100 Subject: [Gambas-user] BUGY gambas-0.91,I think 0.91 is not a good number Message-ID: <200403182110.28048.Karl.Reinl@...9...> Salut, I think 0.91 is not a good number, close to 1.00 and/but too bugy. For me on my gentoo 1.4 , qt-3.2.3 , gcc 3.2.3 , KDE 3.1.4 , mysql 4.0.16 ,psql 7.3.4, sqlite 2.8.3 Too much Item not found in debugger, followed by an crash. Amicalement Charlie From gambas at ...1... Thu Mar 18 23:21:47 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 18 Mar 2004 23:21:47 +0100 Subject: [Gambas-user] Bug: FEditor In-Reply-To: <200403181755.42257.ronstk@...239...> References: <200403181755.42257.ronstk@...239...> Message-ID: <200403182321.47897.gambas@...1...> On Thursday 18 March 2004 17:55, ron wrote: > Hallo Benoit > > I had several times an error in FEditor with fatal result and closing all > without it is saved. :( > > Function is IsCurrentProc() > line 598 > ------------------ > FOR iPos = 0 TO aLine.Count - 1 > ..... > IF aLine[iPos] = "FUNCTION" THEN > bProc = TRUE > BREAK > ENDIF > ... > NEXT > > IF bProc THEN $sName = aLine[iPos + 1] '<----------- 598 > > RETURN bProc > END > ------------------ > I do not know when exactly this function runs but asuming FUNCTION can be > the last line then iPos is already at the last line > With the BREAK in continues after NEXT > bProc=True and then iPos + 1 is out of bounds ! I just have fixed this bug! Replace: IF bProc THEN $sName = aLine[iPos + 1] '<----------- 598 by the following: IF bProc THEN INC iPos IF iPos >= aLine.Count THEN RETURN $sName = aLine[iPos] ENDIF Sorry for the bug! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Mar 18 23:22:57 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 18 Mar 2004 23:22:57 +0100 Subject: [Gambas-user] REQ: Completion In-Reply-To: <200403182013.40334.ronstk@...239...> References: <200403182013.40334.ronstk@...239...> Message-ID: <200403182322.57140.gambas@...1...> On Thursday 18 March 2004 20:13, ron wrote: > Hi, > > Completion works on Public items but should it not > also work on Private items inside the same class? > > Ron > I don't understand. Completion works on private variables and local variables. What's the problem ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Mar 18 23:23:59 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 18 Mar 2004 23:23:59 +0100 Subject: [Gambas-user] BUGY gambas-0.91,I think 0.91 is not a good number In-Reply-To: <200403182110.28048.Karl.Reinl@...9...> References: <200403182110.28048.Karl.Reinl@...9...> Message-ID: <200403182323.59038.gambas@...1...> On Thursday 18 March 2004 21:10, Charlie Reinl wrote: > Salut, > > I think 0.91 is not a good number, close to 1.00 and/but too bugy. > For me on my > gentoo 1.4 , qt-3.2.3 , gcc 3.2.3 , KDE 3.1.4 , mysql 4.0.16 ,psql 7.3.4, > sqlite 2.8.3 > > Too much Item not found in debugger, followed by an crash. > > Amicalement > Charlie > > Without any information, it is hard for me to fix a bug! Regards, -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Thu Mar 18 23:05:03 2004 From: karl.reinl at ...9... (Charlie) Date: Thu, 18 Mar 2004 23:05:03 +0100 Subject: [Gambas-user] BUGY gambas-0.91,I think 0.91 is not a good number References: <200403182110.28048.Karl.Reinl@...9...> <200403182323.59038.gambas@...1...> Message-ID: <405A1D0F.90906@...9...> Benoit Minisini schrieb: >On Thursday 18 March 2004 21:10, Charlie Reinl wrote: > > >>Salut, >> >>I think 0.91 is not a good number, close to 1.00 and/but too bugy. >>For me on my >>gentoo 1.4 , qt-3.2.3 , gcc 3.2.3 , KDE 3.1.4 , mysql 4.0.16 ,psql 7.3.4, >>sqlite 2.8.3 >> >>Too much Item not found in debugger, followed by an crash. >> >>Amicalement >>Charlie >> >> >> >> > >Without any information, it is hard for me to fix a bug! > >Regards, > > > Sorry Benoit, I was too frustrated, I will try to reproduce that next weekend, and I sen you a report Charlie From msdarmawan at ...396... Fri Mar 19 02:28:03 2004 From: msdarmawan at ...396... (M Sulchan Darmawan) Date: Fri, 19 Mar 2004 08:28:03 +0700 Subject: [Gambas-user] problem on installing gambas Message-ID: <162674874007.20040319082803@...396...> Dear all, I'm new to the list and trying to install gambas-0.90. Forgive me if I had to ask this silly question. I tried to install gambas-0.90 on my linux machine, but there are some warnings displayed during compilation and installation (see output.txt). also, I already try to install gambas-0.91 but with the same result. As I'm new to linux and gambas, please guide me step by step. I have download rpm file from kudla.org but don't know how to install it :( For your information, I use Mandrake 9.1 on AMD Athlon. Best regards, M Sulchan Darmawan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040319/8fac3065/attachment.txt> From sourceforge-raindog2 at ...94... Fri Mar 19 05:00:54 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 18 Mar 2004 23:00:54 -0500 Subject: [Gambas-user] problem on installing gambas In-Reply-To: <162674874007.20040319082803@...396...> References: <162674874007.20040319082803@...396...> Message-ID: <200403182300.54686.sourceforge-raindog2@...94...> On Thursday 18 March 2004 20:28, M Sulchan Darmawan wrote: > Forgive me if I had to ask this silly question. I tried to > install gambas-0.90 on my linux machine, but there are some > warnings displayed during compilation and installation (see > output.txt). You have some libraries missing, that's all. > As I'm new to linux and gambas, please guide me step by > step. I have download rpm file from kudla.org but don't know > how to install it :( Download all the RPM's for 0.90 or 0.91 from the 9.1/i586 subdirectory, stick them in their own directory and go "urpmi *" on them. That will not only install the RPM's but also go out and get anything you're missing. Soon Mandrake will have a mechanism to let you add download sources (like my RPM repository) just by clicking on a link, and better yet, a mechanism to let you install a bunch of RPM's from a website all at once, so in the future you should be able to get the latest Gambas in a few clicks rather than jumping through these hoops (which are still a bit easier to deal with than building from source.) Rob From msdarmawan at ...396... Fri Mar 19 09:17:12 2004 From: msdarmawan at ...396... (M Sulchan Darmawan) Date: Fri, 19 Mar 2004 15:17:12 +0700 Subject: [Gambas-user] problem on installing gambas In-Reply-To: <200403182300.54686.sourceforge-raindog2@...94...> References: <162674874007.20040319082803@...396...> <200403182300.54686.sourceforge-raindog2@...94...> Message-ID: <90699423437.20040319151712@...396...> <deleted> >> As I'm new to linux and gambas, please guide me step by >> step. I have download rpm file from kudla.org but don't know >> how to install it :( R> Download all the RPM's for 0.90 or 0.91 from the 9.1/i586 R> subdirectory, stick them in their own directory and go "urpmi *" R> on them. That will not only install the RPM's but also go out R> and get anything you're missing. Thanks Rob, I'll try this later. Couldn't wait to play gambas ;) Regards, Sulchan R> Soon Mandrake will have a mechanism to let you add download R> sources (like my RPM repository) just by clicking on a link, and R> better yet, a mechanism to let you install a bunch of RPM's from R> a website all at once, so in the future you should be able to R> get the latest Gambas in a few clicks rather than jumping R> through these hoops (which are still a bit easier to deal with R> than building from source.) R> Rob From ronstk at ...239... Fri Mar 19 09:49:58 2004 From: ronstk at ...239... (ron) Date: Fri, 19 Mar 2004 09:49:58 +0100 Subject: [Gambas-user] REQ: Completion In-Reply-To: <200403182322.57140.gambas@...1...> References: <200403182013.40334.ronstk@...239...> <200403182322.57140.gambas@...1...> Message-ID: <200403190949.58878.ronstk@...239...> On Thursday 18 March 2004 23:22, Benoit Minisini wrote: > On Thursday 18 March 2004 20:13, ron wrote: > > Hi, > > > > Completion works on Public items but should it not > > also work on Private items inside the same class? > > > > Ron > > I don't understand. Completion works on private variables and local > variables. What's the problem ? I had not shrink it, it was to long but... When I am right it should show Public functions/variables in own class and other classes Only the Private Function/variables in own class are shown. ---- class1 public function x1() private function x2() ---- class2 public function y1 private function y2 public sub z() class1.x1 ok class1.x2 not in completion class2.y1 ok class2,y2 is not but should? end ---- I missed th y2 after pressing the dot and send you the message. Ron From ronstk at ...239... Fri Mar 19 09:56:07 2004 From: ronstk at ...239... (ron) Date: Fri, 19 Mar 2004 09:56:07 +0100 Subject: [Gambas-user] Bug: FEditor In-Reply-To: <200403182321.47897.gambas@...1...> References: <200403181755.42257.ronstk@...239...> <200403182321.47897.gambas@...1...> Message-ID: <200403190956.07469.ronstk@...239...> On Thursday 18 March 2004 23:21, Benoit Minisini wrote: > On Thursday 18 March 2004 17:55, ron wrote: > > Hallo Benoit > > > > I had several times an error in FEditor with fatal result and closing all > > without it is saved. :( > > > > Function is IsCurrentProc() > > line 598 > > ------------------ > > FOR iPos = 0 TO aLine.Count - 1 > > ..... > > IF aLine[iPos] = "FUNCTION" THEN > > bProc = TRUE > > BREAK > > ENDIF > > ... > > NEXT > > > > IF bProc THEN $sName = aLine[iPos + 1] '<----------- 598 > > > > RETURN bProc > > END > > ------------------ > > I do not know when exactly this function runs but asuming FUNCTION can be > > the last line then iPos is already at the last line > > With the BREAK in continues after NEXT > > bProc=True and then iPos + 1 is out of bounds ! > > I just have fixed this bug! Replace: > > IF bProc THEN $sName = aLine[iPos + 1] '<----------- 598 > > by the following: > > IF bProc THEN > > INC iPos > IF iPos >= aLine.Count THEN RETURN ' <---- > > $sName = aLine[iPos] > > ENDIF > > > Sorry for the bug! > > Regards, I asume the RETURN must be RETURN bProc ? Pitty it was, Happy I found. It are always this smal ones. From ronstk at ...239... Fri Mar 19 11:18:01 2004 From: ronstk at ...239... (ron) Date: Fri, 19 Mar 2004 11:18:01 +0100 Subject: [Gambas-user] BUGY gambas-0.91,I think 0.91 is not a good number In-Reply-To: <405A1D0F.90906@...9...> References: <200403182110.28048.Karl.Reinl@...9...> <200403182323.59038.gambas@...1...> <405A1D0F.90906@...9...> Message-ID: <200403191118.01869.ronstk@...239...> On Thursday 18 March 2004 23:05, Charlie wrote: > Benoit Minisini schrieb: > >On Thursday 18 March 2004 21:10, Charlie Reinl wrote: > >>Salut, > >> > >>I think 0.91 is not a good number, close to 1.00 and/but too bugy. > >>For me on my > >>gentoo 1.4 , qt-3.2.3 , gcc 3.2.3 , KDE 3.1.4 , mysql 4.0.16 ,psql 7.3.4, > >>sqlite 2.8.3 > >> > >>Too much Item not found in debugger, followed by an crash. > >> > >>Amicalement > >>Charlie > > > >Without any information, it is hard for me to fix a bug! > > > >Regards, > > Sorry Benoit, > > I was too frustrated, > I will try to reproduce that next weekend, and I sen you a report > > Charlie I know, I am many times too but also continue. Try to realise, just as me, there are already so many with success. As Rob once told me, it is alfa,beta etc. If it below 1.0 it is always a develop tool and not production stable. I was also yelling, few times, but it is most a combination of all components your machine is providing making the troubles. I never had feeling Gambas sux. See my curl story, for sure it was not the fault of gambas but what SuSE has in the distribution and upgrades for that version (8.2). Maybe the developer of the Net component did use a to new version instead a more common one but he want to make a best one, and that requires sometimes the last one. With respect to that it is forgiven so I can't use the net.curl part now. :-( Overall I belive Gambas is good and it works for me safer with less crashes, as i.e. hbasic witch has a nice look as VB, has many features, but to complex , buttons and menu entries, for usage by starters and they mostly don't need this in the beginning. I mean with starters the usage of the program and not programming, that is another fact. A letter to you grandma in Notepad is more easy then M$ Word with all bells and wishels for only linux users starting on Fensters,Doors or Mac. Learn to walk first and later skating with your legs. If you get a error message you can do the same as me. Put the gambas directory in the gambas/share folder and start it as a project. Try to find the place and a solution, in the error box there is a line and module name if you are lucky. Place here what you found as possible bug, suggest a solution and wait. BTW You can find in this project solutions for problems in you own project to. Really it is a very big example and you can lost your way to find it but also get valuable ideas or copy some code of it to your own project. For starters it can be difficult but sometimes the developer can oversee some simple possible bug's, See of my last Bug: FEditor report i.e. Good luck, Ron From na2492 at ...9... Fri Mar 19 11:45:30 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Fri, 19 Mar 2004 11:45:30 00100 Subject: [Gambas-user] REQ: Completion Message-ID: <405acf4a.6097.0@...9...> >On Thursday 18 March 2004 23:22, Benoit Minisini wrote: >> On Thursday 18 March 2004 20:13, ron wrote: >> > Hi, >> > >> > Completion works on Public items but should it not >> > also work on Private items inside the same class? >> > >> > Ron >> >> I don't understand. Completion works on private variables and local >> variables. What's the problem ? > >I had not shrink it, it was to long but... >When I am right it should show Public functions/variables >in own class and other classes >Only the Private Function/variables in own class are shown. > >---- >class1 >public function x1() >private function x2() >---- >class2 >public function y1 >private function y2 > >public sub z() > class1.x1 ok > class1.x2 not in completion > class2.y1 ok > class2,y2 is not but should? >end >---- >I missed th y2 after pressing the dot and send you the message. > >Ron Salut Ron, if the upper code is a copy, you have to replace the , by a . Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From ronstk at ...239... Fri Mar 19 12:14:06 2004 From: ronstk at ...239... (ron) Date: Fri, 19 Mar 2004 12:14:06 +0100 Subject: [Gambas-user] PRB: Troubles with marking text Message-ID: <200403191214.06812.ronstk@...239...> When I try to mark text with the mouse the highlight part start most of the times in column 2 of the text. I started at the row with ' END and when I go strait up in the above rows the highlight is in column 2. When I move the mouse to the left, outside the window, and go up it marks column 1 instead of column 2. Does not matter for marking with mouse upwards or downward move for marking. With some mouse movement the end point is adjustable but the start is, in my situation, always in column 2 The left border of the textarrea looks to me also a bit to close to the window border. Ron From ronstk at ...239... Fri Mar 19 12:20:56 2004 From: ronstk at ...239... (ron) Date: Fri, 19 Mar 2004 12:20:56 +0100 Subject: [Gambas-user] REQ: Completion In-Reply-To: <405acf4a.6097.0@...9...> References: <405acf4a.6097.0@...9...> Message-ID: <200403191220.56710.ronstk@...239...> > > class1.x1 ok > > class1.x2 not in completion > > class2.y1 ok > > class2,y2 is not but should? > >end > >---- > >I missed th y2 after pressing the dot and send you the message. > > > >Ron > > Salut Ron, > > if the upper code is a copy, you have to replace the , by a . > > Amicalement > Charlie Oeps, no I typed on line so that is not the reason. Ron From ronstk at ...239... Fri Mar 19 12:24:26 2004 From: ronstk at ...239... (ron) Date: Fri, 19 Mar 2004 12:24:26 +0100 Subject: [Gambas-user] REQ: Completion In-Reply-To: <200403190949.58878.ronstk@...239...> References: <200403182013.40334.ronstk@...239...> <200403182322.57140.gambas@...1...> <200403190949.58878.ronstk@...239...> Message-ID: <200403191224.26372.ronstk@...239...> Correction, I typed on line, it is not the real code public sub z() class1.x1 ok class1.x2 not in completion class2.y1 ok class2,y2 is not but should? <-- my bug end ---- had to be public sub z() class1.x1 ok class1.x2 not in completion class2.y1 ok class2.y2 is not but should? end ---- Ron From lcliff at ...284... Fri Mar 19 12:54:17 2004 From: lcliff at ...284... (Luke Cliff) Date: Fri, 19 Mar 2004 21:54:17 +1000 Subject: [Gambas-user] Shell problem with gambas 0.91 and mdk9.2 In-Reply-To: <E1B4BQa-0003Qs-Ny@...39...> References: <E1B4BQa-0003Qs-Ny@...39...> Message-ID: <405ADF69.8040604@...284...> Hello Gambas, I've had a bad few days here, I just had sent up the new mandrake 10 community edition, I love the new looks, and stuff, even the support for a "real bought one remote", except that my CD-RW no longer works, and I have no access to the temperature sensors for my lovely gambas storm watcher.....so I'm going home to mdk9.2 ///when I did arrive home and the front door welcoming me home, I installed gambas 0.91... everything was fine until I sat down for the night and ordered gambas to play some "easy listening".....tried out my remote control...Bang, back to attendance. the code> sub PlayMe() Dim App as Object App = Application[""] ThisProgram="xmms -p Listfile.m3u &" Shell(ThisProgram,App,1) end now hangs at Shell() until I close "ThisProgram", is there someone who knows how to continue after the Shell() command, regardless of weather the program or script has finished? 0.90 does this fine... Regards Luke From eilert-sprachen at ...221... Fri Mar 19 13:05:50 2004 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 19 Mar 2004 13:05:50 +0100 Subject: [Gambas-user] TextArea.ToLine(x) confusing Message-ID: <405AE21E.10804@...221...> Hi, I've almost finished my first project with Gambas - absolutely amazing thing :-) However, when I wanted to make a function that outputs the text from TextArea1 to the printer, I found that the TextArea1.ToLine(x) function does NOT return the line but the paragraph - apparently it is programmed to count the number of CRs in the text. As long as the TextArea's "Wrap" is not set to True, this makes sense (every line is a paragraph). In my case, "Wrap" is set to True, enabling the TextArea to work like a real text input field and delimiting the line width to the width of the text area. When you give ToLine the number of the character in the text, you would expect to have the actual line returned here. Now, is there a way of having TextArea telling me on what line the cursor (or printing counter, resp.) is standing, or will I really have to make a function that recalculates the line wrapping for the printing? Rolf From ronstk at ...239... Fri Mar 19 13:31:31 2004 From: ronstk at ...239... (ron) Date: Fri, 19 Mar 2004 13:31:31 +0100 Subject: [Gambas-user] REQ: Completion In-Reply-To: <200403182322.57140.gambas@...1...> References: <200403182013.40334.ronstk@...239...> <200403182322.57140.gambas@...1...> Message-ID: <200403191331.31719.ronstk@...239...> On Thursday 18 March 2004 23:22, Benoit Minisini wrote: > On Thursday 18 March 2004 20:13, ron wrote: > > Hi, > > > > Completion works on Public items but should it not > > also work on Private items inside the same class? > > > > Ron > > I don't understand. Completion works on private variables and local > variables. What's the problem ? in FCompletion FillWithSymbol() round line 148 FOR EACH hSymbol IN cSymbol IF Left$(hSymbol.Name) = "_" THEN CONTINUE IF hSymbol.Kind = ":" THEN CONTINUE IF hSymbol.NotPublic THEN CONTINUE '<---- ? IF bStatic THEN IF UCase(hSymbol.Kind) <> hSymbol.Kind THEN CONTINUE ENDIF ENDIF aSymbol.Add(hSymbol.Name) NEXT should have ? IF sClass<>"ownclass" AND hSymbol.NotPublic THEN CONTINUE I only don't know atm where to find "ownclass" :( Project.ActiveForm has it ??? Ron From ronstk at ...239... Fri Mar 19 13:55:11 2004 From: ronstk at ...239... (ron) Date: Fri, 19 Mar 2004 13:55:11 +0100 Subject: [Gambas-user] PRB: Completion 2 Symbol inconsistent Message-ID: <200403191355.12085.ronstk@...239...> Strict it is is right because the name is right however in the class using the property the _Read and _Write where not typed in the past. In class1 the _Read and _Write must for properties as the docmentation say's. ------- 'class 1 property read Name AS String private m_name as string private m_nameold as string public function Name_Read() as string return m_name end public function Name_Write() as string msgPopUp ("Can't do this") end public sub Rename(newnam as string) ....... m_name=newnam end --------- 'class2 public sub doit() if class1.Name="horse" then .... if class1.Name_Read="gambas" then .... end ------- in class2 Name comes as Name_Read, Name_Write and Name_Rename in completion box. Do i something wrong or is this a beauty bug? Ron From georgy_81 at ...18... Fri Mar 19 17:21:36 2004 From: georgy_81 at ...18... (Christoph Schmid) Date: Fri, 19 Mar 2004 17:21:36 +0100 Subject: [Gambas-user] problem on installing gambas - debian SID In-Reply-To: <162674874007.20040319082803@...396...> References: <162674874007.20040319082803@...396...> Message-ID: <405B1E10.6070201@...18...> i'm running gambas-0.91 on a Debian Sid-machine, with KDE 3.2 and the latest libs from sid repository ! to install gambas, i had also to install the "libqt3-compat-headers" - package! perhaps the FAQ should be updated to inform others about this! actually the missing headers were qlist.h and sone others, i don't know if this is debian-specific or a general thing with new libs... at second i want to say, i like gambas very much! great work... surely it's not perfect, but nothing human-made is that ;) i will play a bit more with it and tell you, when i believe to have discovered a bug :) so there folks, i wish you all much fun with gambas! :) greets Chris M Sulchan Darmawan schrieb: >Dear all, > >I'm new to the list and trying to install gambas-0.90. >Forgive me if I had to ask this silly question. I tried to install >gambas-0.90 on my linux machine, but there are some warnings displayed >during compilation and installation (see output.txt). > >also, I already try to install gambas-0.91 but with the same result. > >As I'm new to linux and gambas, please guide me step by step. I have >download rpm file from kudla.org but don't know how to install it :( > >For your information, I use Mandrake 9.1 on AMD Athlon. > >Best regards, >M Sulchan Darmawan > >------------------------------------------------------------------------ > >loading cache ./config.cache >checking whether to enable maintainer-specific portions of Makefiles... no >checking for a BSD compatible install... (cached) /usr/bin/install -c >checking whether build environment is sane... yes >checking whether make sets ${MAKE}... (cached) yes >checking for working aclocal-1.4... found >checking for working autoconf... found >checking for working automake-1.4... found >checking for working autoheader... found >checking for working makeinfo... found >checking host system type... i686-pc-linux-gnu >checking for gcc... (cached) gcc >checking whether the C compiler (gcc ) works... yes >checking whether the C compiler (gcc ) is a cross-compiler... no >checking whether we are using GNU C... (cached) yes >checking whether gcc accepts -g... (cached) yes >checking how to run the C preprocessor... (cached) gcc -E >checking for c++... (cached) c++ >checking whether the C++ compiler (c++ ) works... yes >checking whether the C++ compiler (c++ ) is a cross-compiler... no >checking whether we are using GNU C++... (cached) yes >checking whether c++ accepts -g... (cached) yes >checking for a BSD compatible install... /usr/bin/install -c >checking whether ln -s works... (cached) yes >checking whether make sets ${MAKE}... (cached) yes >checking for dirent.h that defines DIR... (cached) yes >checking for opendir in -ldir... (cached) no >checking for ANSI C header files... (cached) yes >checking for sys/wait.h that is POSIX.1 compatible... (cached) yes >checking for fcntl.h... (cached) yes >checking for limits.h... (cached) yes >checking for malloc.h... (cached) yes >checking for strings.h... (cached) yes >checking for sys/ioctl.h... (cached) yes >checking for sys/time.h... (cached) yes >checking for unistd.h... (cached) yes >checking for working const... (cached) yes >checking for pid_t... (cached) yes >checking for size_t... (cached) yes >checking whether time.h and sys/time.h may both be included... (cached) yes >checking whether struct tm is in sys/time.h or time.h... (cached) time.h >checking for working alloca.h... (cached) yes >checking for alloca... (cached) yes >checking whether gcc needs -traditional... (cached) no >checking return type of signal handlers... (cached) void >checking for working strcoll... (cached) yes >checking for strftime... (cached) yes >checking for vprintf... (cached) yes >checking for wait3 that fills in rusage... (cached) yes >checking for getcwd... (cached) yes >checking for gettimeofday... (cached) yes >checking for mkdir... (cached) yes >checking for rmdir... (cached) yes >checking for select... (cached) yes >checking for socket... (cached) yes >checking for strdup... (cached) yes >checking for strerror... (cached) yes >checking for strtod... (cached) yes >checking for strtol... (cached) yes >checking for setenv... (cached) yes >checking for unsetenv... (cached) yes >checking for Cygwin environment... (cached) no >checking for mingw32 environment... (cached) no >checking build system type... i686-pc-linux-gnu >checking for ld used by GCC... (cached) /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes >checking for /usr/bin/ld option to reload object files... (cached) -r >checking for BSD-compatible nm... (cached) /usr/bin/nm -B >checking how to recognise dependant libraries... (cached) pass_all >checking for object suffix... (cached) o >checking for executable suffix... (cached) no >checking command to parse /usr/bin/nm -B output... (cached) ok >checking for dlfcn.h... (cached) yes >checking for ranlib... (cached) ranlib >checking for strip... (cached) strip >checking for objdir... .libs >checking for gcc option to produce PIC... (cached) -fPIC >checking if gcc PIC flag -fPIC works... (cached) yes >checking if gcc static flag works... (cached) no >checking if gcc supports -c -o file.o... (cached) yes >checking if gcc supports -c -o file.lo... (cached) yes >checking if gcc supports -fno-rtti -fno-exceptions... yes >checking whether the linker (/usr/bin/ld) supports shared libraries... yes >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking for shl_load... (cached) no >checking for shl_load in -ldld... (cached) no >checking for dlopen... (cached) no >checking for dlopen in -ldl... (cached) yes >checking whether a program can dlopen itself... (cached) yes >checking whether a statically linked program can dlopen itself... (cached) yes >checking whether -lc should be explicitly linked in... (cached) no >creating libtool >checking for main in -lm... (cached) yes >checking for main in -lz... (cached) yes >checking for main in -lgcc_s... (cached) yes >checking for main in -lstdc++... (cached) yes >checking which extension is used for shared libraries... .so >checking for threading compiler options... -D_REENTRANT >checking for threading linker options... -lpthread >checking for internationalization library (if not present in C library) headers... (cached) /usr/include/ >checking for internationalization library (if not present in C library) libraries... (cached) /usr/lib/ >checking for charset conversion library (if not present in C library) headers... (cached) /usr/include/ >checking for charset conversion library (if not present in C library) libraries... (cached) no >configure: warning: *** charset conversion library (if not present in C library) is disabled >checking for QT component headers... (cached) /usr/lib/qt3/include/ >checking for QT component libraries... (cached) /usr/lib/qt3/lib/ >checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include >checking for dnet_ntoa in -ldnet... (cached) no >checking for dnet_ntoa in -ldnet_stub... (cached) no >checking for gethostbyname... (cached) yes >checking for connect... (cached) yes >checking for remove... (cached) yes >checking for shmat... (cached) yes >checking for IceConnectionNumber in -lICE... (cached) yes >checking for XOpenDisplay in -lX11... (cached) yes >checking for XShmAttach in -lXext... (cached) yes >checking for moc... (cached) /usr/lib/qt3/lib//../bin/moc >checking for KDE 3.x component headers... (cached) /usr/include/ >checking for KDE 3.x component libraries... (cached) /usr/lib/ >checking for Networking component headers... (cached) >checking for Networking component libraries... (cached) >checking for Advanced networking component headers... (cached) no >checking for Advanced networking component libraries... (cached) no >configure: warning: *** Advanced networking component is disabled >checking for PostgreSQL driver headers... (cached) no >checking for PostgreSQL driver libraries... (cached) no >configure: warning: *** PostgreSQL driver is disabled >checking for MySQL driver headers... (cached) no >checking for MySQL driver libraries... (cached) no >configure: warning: *** MySQL driver is disabled >checking for SDL component headers... (cached) no >checking for SDL component libraries... (cached) no >configure: warning: *** SDL component is disabled >checking for Visual Basic compatibility component headers... (cached) >checking for Visual Basic compatibility component libraries... (cached) >updating cache ./config.cache >creating ./config.status >creating Makefile >creating src/Makefile >creating src/share/Makefile >creating src/comp/Makefile >creating src/exec/Makefile >creating src/lib/Makefile >creating src/lib/eval/Makefile >creating src/lib/example/Makefile >creating src/lib/qt/Makefile >creating src/lib/qt/editor/Makefile >creating src/lib/qt/ext/Makefile >creating src/lib/qt/kde/Makefile >creating src/lib/qt/kde/html/Makefile >creating src/lib/db/Makefile >creating src/lib/db/mysql/Makefile >creating src/lib/db/postgresql/Makefile >creating src/lib/sdl/Makefile >creating src/lib/net/Makefile >creating src/lib/net/curl/Makefile >creating src/lib/vb/Makefile >creating config.h >config.h is unchanged >configuring in libltdl >running /bin/sh ./configure --enable-ltdl-convenience --cache-file=.././config.cache --srcdir=. >loading cache .././config.cache >checking for a BSD compatible install... (cached) /usr/bin/install -c >checking whether build environment is sane... yes >checking whether make sets ${MAKE}... (cached) yes >checking for working aclocal-1.4... found >checking for working autoconf... found >checking for working automake-1.4... found >checking for working autoheader... found >checking for working makeinfo... found >checking whether to enable maintainer-specific portions of Makefiles... no >checking for gcc... (cached) gcc >checking whether the C compiler (gcc ) works... yes >checking whether the C compiler (gcc ) is a cross-compiler... no >checking whether we are using GNU C... (cached) yes >checking whether gcc accepts -g... (cached) yes >checking for working const... (cached) yes >checking for inline... (cached) inline >checking for Cygwin environment... (cached) no >checking for mingw32 environment... (cached) no >checking how to run the C preprocessor... (cached) gcc -E >checking host system type... i686-pc-linux-gnu >checking build system type... i686-pc-linux-gnu >checking for ld used by GCC... (cached) /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes >checking for /usr/bin/ld option to reload object files... (cached) -r >checking for BSD-compatible nm... (cached) /usr/bin/nm -B >checking whether ln -s works... (cached) yes >checking how to recognise dependant libraries... (cached) pass_all >checking for object suffix... (cached) o >checking for executable suffix... (cached) no >checking command to parse /usr/bin/nm -B output... (cached) ok >checking for dlfcn.h... (cached) yes >checking for ranlib... (cached) ranlib >checking for strip... (cached) strip >checking for objdir... .libs >checking for gcc option to produce PIC... (cached) -fPIC >checking if gcc PIC flag -fPIC works... (cached) yes >checking if gcc static flag works... (cached) no >checking if gcc supports -c -o file.o... (cached) yes >checking if gcc supports -c -o file.lo... (cached) yes >checking if gcc supports -fno-rtti -fno-exceptions... yes >checking whether the linker (/usr/bin/ld) supports shared libraries... yes >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >checking whether -lc should be explicitly linked in... (cached) no >creating libtool >checking for ANSI C header files... (cached) yes >checking for dirent.h that defines DIR... (cached) yes >checking for opendir in -ldir... (cached) no >checking whether gcc supports assert without backlinking... >checking which extension is used for shared libraries... (cached) .so >checking which variable specifies run-time library path... (cached) LD_LIBRARY_PATH >checking for the default library search path... (cached) /lib /usr/lib /usr/X11R6/lib >checking for objdir... (cached) .libs >checking whether libtool supports -dlopen/-dlpreopen... (cached) yes >checking for dlopen in -ldl... (cached) yes >checking for shl_load... (cached) no >checking for shl_load in -ldld... (cached) no >checking for dld_link in -ldld... (cached) no >checking for dlerror... (cached) yes >checking for _ prefix in compiled symbols... (cached) no >checking whether deplibs are loaded by dlopen... (cached) yes >checking for argz.h... (cached) yes >checking for error_t... yes >checking for argz_append... (cached) yes >checking for argz_create_sep... (cached) yes >checking for argz_insert... (cached) yes >checking for argz_next... (cached) yes >checking for argz_stringify... (cached) yes >checking for errno.h... (cached) yes >checking for malloc.h... (cached) yes >checking for memory.h... (cached) yes >checking for stdlib.h... (cached) yes >checking for stdio.h... (cached) yes >checking for ctype.h... (cached) yes >checking for unistd.h... (cached) yes >checking for dl.h... (cached) no >checking for sys/dl.h... (cached) no >checking for dld.h... (cached) no >checking for string.h... (cached) yes >checking for strchr... (cached) yes >checking for strrchr... (cached) yes >checking for memcpy... (cached) yes >checking for memmove... (cached) yes >checking for strcmp... (cached) yes >updating cache .././config.cache >creating ./config.status >creating Makefile >creating config.h >config.h is unchanged >make all-recursive >make[1]: Entering directory `/usr/src/gambas-0.90' >Making all in libltdl >make[2]: Entering directory `/usr/src/gambas-0.90/libltdl' >/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c >rm -f .libs/ltdl.lo >gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.lo >gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1 >mv -f .libs/ltdl.lo ltdl.lo >/bin/sh ./libtool --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl >rm -fr .libs/libltdlc.la .libs/libltdlc.* .libs/libltdlc.* >ar cru .libs/libltdlc.al ltdl.lo >ranlib .libs/libltdlc.al >creating libltdlc.la >(cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) >make[2]: Leaving directory `/usr/src/gambas-0.90/libltdl' >Making all in src >make[2]: Entering directory `/usr/src/gambas-0.90/src' >Making all in share >make[3]: Entering directory `/usr/src/gambas-0.90/src/share' >make[3]: Nothing to be done for `all'. >make[3]: Leaving directory `/usr/src/gambas-0.90/src/share' >Making all in comp >make[3]: Entering directory `/usr/src/gambas-0.90/src/comp' >make[3]: Nothing to be done for `all'. >make[3]: Leaving directory `/usr/src/gambas-0.90/src/comp' >Making all in exec >make[3]: Entering directory `/usr/src/gambas-0.90/src/exec' >make[3]: Nothing to be done for `all'. >make[3]: Leaving directory `/usr/src/gambas-0.90/src/exec' >Making all in lib >make[3]: Entering directory `/usr/src/gambas-0.90/src/lib' >Making all in eval >make[4]: Entering directory `/usr/src/gambas-0.90/src/lib/eval' >make[4]: Nothing to be done for `all'. >make[4]: Leaving directory `/usr/src/gambas-0.90/src/lib/eval' >Making all in example >make[4]: Entering directory `/usr/src/gambas-0.90/src/lib/example' >make[4]: Nothing to be done for `all'. >make[4]: Leaving directory `/usr/src/gambas-0.90/src/lib/example' >Making all in db >make[4]: Entering directory `/usr/src/gambas-0.90/src/lib/db' >make[5]: Entering directory `/usr/src/gambas-0.90/src/lib/db' >make[5]: Nothing to be done for `all-am'. >make[5]: Leaving directory `/usr/src/gambas-0.90/src/lib/db' >make[4]: Leaving directory `/usr/src/gambas-0.90/src/lib/db' >Making all in qt >make[4]: Entering directory `/usr/src/gambas-0.90/src/lib/qt' >Making all in editor >make[5]: Entering directory `/usr/src/gambas-0.90/src/lib/qt/editor' >make[5]: Nothing to be done for `all'. >make[5]: Leaving directory `/usr/src/gambas-0.90/src/lib/qt/editor' >Making all in ext >make[5]: Entering directory `/usr/src/gambas-0.90/src/lib/qt/ext' >make[5]: Nothing to be done for `all'. >make[5]: Leaving directory `/usr/src/gambas-0.90/src/lib/qt/ext' >Making all in kde >make[5]: Entering directory `/usr/src/gambas-0.90/src/lib/qt/kde' >Making all in html >make[6]: Entering directory `/usr/src/gambas-0.90/src/lib/qt/kde/html' >/bin/sh ../../../../../libtool --mode=link c++ -g -O2 -pipe -Wall -fno-exceptions -g -O0 -o lib.gb.qt.kde.html.la -rpath /opt/gambas/lib -no-undefined main.lo moc_main.lo moc_CWebBrowser.lo CWebBrowser.lo -L/usr/lib/qt3/lib/ -lgcc_s -lstdc++ -lpthread -lqt-mt -lkdecore -lkdeui -lDCOP -lkio -lkhtml -lkjs >grep: /usr/lib/libfam.la: No such file or directory >sed: can't read /usr/lib/libfam.la: No such file or directory >libtool: link: `/usr/lib/libfam.la' is not a valid libtool archive >make[6]: *** [lib.gb.qt.kde.html.la] Error 1 >make[6]: Leaving directory `/usr/src/gambas-0.90/src/lib/qt/kde/html' >make[5]: *** [all-recursive] Error 1 >make[5]: Leaving directory `/usr/src/gambas-0.90/src/lib/qt/kde' >make[4]: *** [all-recursive] Error 1 >make[4]: Leaving directory `/usr/src/gambas-0.90/src/lib/qt' >make[3]: *** [all-recursive] Error 1 >make[3]: Leaving directory `/usr/src/gambas-0.90/src/lib' >make[2]: *** [all-recursive] Error 1 >make[2]: Leaving directory `/usr/src/gambas-0.90/src' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory `/usr/src/gambas-0.90' >make: *** [all-recursive-am] Error 2 >Making install in libltdl >make[1]: Entering directory `/usr/src/gambas-0.90/libltdl' >make[2]: Entering directory `/usr/src/gambas-0.90/libltdl' >/bin/sh ./../mkinstalldirs /usr/local/lib >/bin/sh ./../mkinstalldirs /usr/local/include >make[2]: Leaving directory `/usr/src/gambas-0.90/libltdl' >make[1]: Leaving directory `/usr/src/gambas-0.90/libltdl' >Making install in src >make[1]: Entering directory `/usr/src/gambas-0.90/src' >Making install in share >make[2]: Entering directory `/usr/src/gambas-0.90/src/share' >make[3]: Entering directory `/usr/src/gambas-0.90/src/share' >make[3]: Nothing to be done for `install-exec-am'. >/bin/sh ../../mkinstalldirs /opt/gambas/include > /usr/bin/install -c -m 644 gambas.h /opt/gambas/include/gambas.h >make[3]: Leaving directory `/usr/src/gambas-0.90/src/share' >make[2]: Leaving directory `/usr/src/gambas-0.90/src/share' >Making install in comp >make[2]: Entering directory `/usr/src/gambas-0.90/src/comp' >make[3]: Entering directory `/usr/src/gambas-0.90/src/comp' >/bin/sh ../../mkinstalldirs /opt/gambas/bin > /bin/sh ../../libtool --mode=install /usr/bin/install -c gbc /opt/gambas/bin/gbc >/usr/bin/install -c gbc /opt/gambas/bin/gbc > /bin/sh ../../libtool --mode=install /usr/bin/install -c gba /opt/gambas/bin/gba >/usr/bin/install -c gba /opt/gambas/bin/gba > /bin/sh ../../libtool --mode=install /usr/bin/install -c gbi /opt/gambas/bin/gbi >/usr/bin/install -c gbi /opt/gambas/bin/gbi >make[3]: Nothing to be done for `install-data-am'. >make[3]: Leaving directory `/usr/src/gambas-0.90/src/comp' >make[2]: Leaving directory `/usr/src/gambas-0.90/src/comp' >Making install in exec >make[2]: Entering directory `/usr/src/gambas-0.90/src/exec' >make[3]: Entering directory `/usr/src/gambas-0.90/src/exec' >/bin/sh ../../mkinstalldirs /opt/gambas/lib >/bin/sh ../../libtool --mode=install /usr/bin/install -c lib.gb.la /opt/gambas/lib/lib.gb.la >/usr/bin/install -c .libs/lib.gb.so.0.0.0 /opt/gambas/lib/lib.gb.so.0.0.0 >(cd /opt/gambas/lib && rm -f lib.gb.so.0 && ln -s lib.gb.so.0.0.0 lib.gb.so.0) >(cd /opt/gambas/lib && rm -f lib.gb.so && ln -s lib.gb.so.0.0.0 lib.gb.so) >/usr/bin/install -c .libs/lib.gb.lai /opt/gambas/lib/lib.gb.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >/bin/sh ../../mkinstalldirs /opt/gambas/bin > /bin/sh ../../libtool --mode=install /usr/bin/install -c gbx /opt/gambas/bin/gbx >/usr/bin/install -c gbx /opt/gambas/bin/gbx >make[3]: Nothing to be done for `install-data-am'. >make[3]: Leaving directory `/usr/src/gambas-0.90/src/exec' >make[2]: Leaving directory `/usr/src/gambas-0.90/src/exec' >Making install in lib >make[2]: Entering directory `/usr/src/gambas-0.90/src/lib' >Making install in eval >make[3]: Entering directory `/usr/src/gambas-0.90/src/lib/eval' >make[4]: Entering directory `/usr/src/gambas-0.90/src/lib/eval' >/bin/sh ../../../mkinstalldirs /opt/gambas/lib >/bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.eval.la /opt/gambas/lib/lib.gb.eval.la >/usr/bin/install -c .libs/lib.gb.eval.so.0.0.0 /opt/gambas/lib/lib.gb.eval.so.0.0.0 >(cd /opt/gambas/lib && rm -f lib.gb.eval.so.0 && ln -s lib.gb.eval.so.0.0.0 lib.gb.eval.so.0) >(cd /opt/gambas/lib && rm -f lib.gb.eval.so && ln -s lib.gb.eval.so.0.0.0 lib.gb.eval.so) >/usr/bin/install -c .libs/lib.gb.eval.lai /opt/gambas/lib/lib.gb.eval.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[4]: Nothing to be done for `install-data-am'. >make[4]: Leaving directory `/usr/src/gambas-0.90/src/lib/eval' >make[3]: Leaving directory `/usr/src/gambas-0.90/src/lib/eval' >Making install in example >make[3]: Entering directory `/usr/src/gambas-0.90/src/lib/example' >make[4]: Entering directory `/usr/src/gambas-0.90/src/lib/example' >/bin/sh ../../../mkinstalldirs /opt/gambas/lib >/bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.example.la /opt/gambas/lib/lib.gb.example.la >/usr/bin/install -c .libs/lib.gb.example.so.0.0.0 /opt/gambas/lib/lib.gb.example.so.0.0.0 >(cd /opt/gambas/lib && rm -f lib.gb.example.so.0 && ln -s lib.gb.example.so.0.0.0 lib.gb.example.so.0) >(cd /opt/gambas/lib && rm -f lib.gb.example.so && ln -s lib.gb.example.so.0.0.0 lib.gb.example.so) >/usr/bin/install -c .libs/lib.gb.example.lai /opt/gambas/lib/lib.gb.example.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[4]: Nothing to be done for `install-data-am'. >make[4]: Leaving directory `/usr/src/gambas-0.90/src/lib/example' >make[3]: Leaving directory `/usr/src/gambas-0.90/src/lib/example' >Making install in db >make[3]: Entering directory `/usr/src/gambas-0.90/src/lib/db' >make[4]: Entering directory `/usr/src/gambas-0.90/src/lib/db' >make[5]: Entering directory `/usr/src/gambas-0.90/src/lib/db' >/bin/sh ../../../mkinstalldirs /opt/gambas/lib >/bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.db.la /opt/gambas/lib/lib.gb.db.la >/usr/bin/install -c .libs/lib.gb.db.so.0.0.0 /opt/gambas/lib/lib.gb.db.so.0.0.0 >(cd /opt/gambas/lib && rm -f lib.gb.db.so.0 && ln -s lib.gb.db.so.0.0.0 lib.gb.db.so.0) >(cd /opt/gambas/lib && rm -f lib.gb.db.so && ln -s lib.gb.db.so.0.0.0 lib.gb.db.so) >/usr/bin/install -c .libs/lib.gb.db.lai /opt/gambas/lib/lib.gb.db.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/usr/src/gambas-0.90/src/lib/db' >make[4]: Leaving directory `/usr/src/gambas-0.90/src/lib/db' >make[3]: Leaving directory `/usr/src/gambas-0.90/src/lib/db' >Making install in qt >make[3]: Entering directory `/usr/src/gambas-0.90/src/lib/qt' >Making install in editor >make[4]: Entering directory `/usr/src/gambas-0.90/src/lib/qt/editor' >make[5]: Entering directory `/usr/src/gambas-0.90/src/lib/qt/editor' >/bin/sh ../../../../mkinstalldirs /opt/gambas/lib >/bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.qt.editor.la /opt/gambas/lib/lib.gb.qt.editor.la >/usr/bin/install -c .libs/lib.gb.qt.editor.so.0.0.0 /opt/gambas/lib/lib.gb.qt.editor.so.0.0.0 >(cd /opt/gambas/lib && rm -f lib.gb.qt.editor.so.0 && ln -s lib.gb.qt.editor.so.0.0.0 lib.gb.qt.editor.so.0) >(cd /opt/gambas/lib && rm -f lib.gb.qt.editor.so && ln -s lib.gb.qt.editor.so.0.0.0 lib.gb.qt.editor.so) >/usr/bin/install -c .libs/lib.gb.qt.editor.lai /opt/gambas/lib/lib.gb.qt.editor.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/usr/src/gambas-0.90/src/lib/qt/editor' >make[4]: Leaving directory `/usr/src/gambas-0.90/src/lib/qt/editor' >Making install in ext >make[4]: Entering directory `/usr/src/gambas-0.90/src/lib/qt/ext' >make[5]: Entering directory `/usr/src/gambas-0.90/src/lib/qt/ext' >/bin/sh ../../../../mkinstalldirs /opt/gambas/lib >/bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.qt.ext.la /opt/gambas/lib/lib.gb.qt.ext.la >/usr/bin/install -c .libs/lib.gb.qt.ext.so.0.0.0 /opt/gambas/lib/lib.gb.qt.ext.so.0.0.0 >(cd /opt/gambas/lib && rm -f lib.gb.qt.ext.so.0 && ln -s lib.gb.qt.ext.so.0.0.0 lib.gb.qt.ext.so.0) >(cd /opt/gambas/lib && rm -f lib.gb.qt.ext.so && ln -s lib.gb.qt.ext.so.0.0.0 lib.gb.qt.ext.so) >/usr/bin/install -c .libs/lib.gb.qt.ext.lai /opt/gambas/lib/lib.gb.qt.ext.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/usr/src/gambas-0.90/src/lib/qt/ext' >make[4]: Leaving directory `/usr/src/gambas-0.90/src/lib/qt/ext' >Making install in kde >make[4]: Entering directory `/usr/src/gambas-0.90/src/lib/qt/kde' >Making install in html >make[5]: Entering directory `/usr/src/gambas-0.90/src/lib/qt/kde/html' >/bin/sh ../../../../../libtool --mode=link c++ -g -O2 -pipe -Wall -fno-exceptions -g -O0 -o lib.gb.qt.kde.html.la -rpath /opt/gambas/lib -no-undefined main.lo moc_main.lo moc_CWebBrowser.lo CWebBrowser.lo -L/usr/lib/qt3/lib/ -lgcc_s -lstdc++ -lpthread -lqt-mt -lkdecore -lkdeui -lDCOP -lkio -lkhtml -lkjs >grep: /usr/lib/libfam.la: No such file or directory >sed: can't read /usr/lib/libfam.la: No such file or directory >libtool: link: `/usr/lib/libfam.la' is not a valid libtool archive >make[5]: *** [lib.gb.qt.kde.html.la] Error 1 >make[5]: Leaving directory `/usr/src/gambas-0.90/src/lib/qt/kde/html' >make[4]: *** [install-recursive] Error 1 >make[4]: Leaving directory `/usr/src/gambas-0.90/src/lib/qt/kde' >make[3]: *** [install-recursive] Error 1 >make[3]: Leaving directory `/usr/src/gambas-0.90/src/lib/qt' >make[2]: *** [install-recursive] Error 1 >make[2]: Leaving directory `/usr/src/gambas-0.90/src/lib' >make[1]: *** [install-recursive] Error 1 >make[1]: Leaving directory `/usr/src/gambas-0.90/src' >make: *** [install-recursive] Error 1 > > From ronstk at ...239... Fri Mar 19 19:13:08 2004 From: ronstk at ...239... (ron) Date: Fri, 19 Mar 2004 19:13:08 +0100 Subject: [Gambas-user] Score at kde.apps Message-ID: <200403191913.08265.ronstk@...239...> I just found gambas at kde.aps.org Gambas at place 23 Score 86%, 7 comments , 432 downloads at kde.apps hbasic at place 49 Score 83%, 9 comments, 608 downloads at kde.apps Only taking in account the downloads then the score seems to me as good. Ron From gambas at ...1... Sat Mar 20 01:18:39 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 20 Mar 2004 01:18:39 +0100 Subject: [Gambas-user] Bug: FEditor In-Reply-To: <200403190956.07469.ronstk@...239...> References: <200403181755.42257.ronstk@...239...> <200403182321.47897.gambas@...1...> <200403190956.07469.ronstk@...239...> Message-ID: <200403200118.39135.gambas@...1...> On Friday 19 March 2004 09:56, ron wrote: > On Thursday 18 March 2004 23:21, Benoit Minisini wrote: > > On Thursday 18 March 2004 17:55, ron wrote: > > > Hallo Benoit > > > > > > I had several times an error in FEditor with fatal result and closing > > > all without it is saved. :( > > > > > > Function is IsCurrentProc() > > > line 598 > > > ------------------ > > > FOR iPos = 0 TO aLine.Count - 1 > > > ..... > > > IF aLine[iPos] = "FUNCTION" THEN > > > bProc = TRUE > > > BREAK > > > ENDIF > > > ... > > > NEXT > > > > > > IF bProc THEN $sName = aLine[iPos + 1] '<----------- 598 > > > > > > RETURN bProc > > > END > > > ------------------ > > > I do not know when exactly this function runs but asuming FUNCTION can > > > be the last line then iPos is already at the last line > > > With the BREAK in continues after NEXT > > > bProc=True and then iPos + 1 is out of bounds ! > > > > I just have fixed this bug! Replace: > > > > IF bProc THEN $sName = aLine[iPos + 1] '<----------- 598 > > > > by the following: > > > > IF bProc THEN > > > > INC iPos > > IF iPos >= aLine.Count THEN RETURN ' <---- > > > > $sName = aLine[iPos] > > > > ENDIF > > > > > > Sorry for the bug! > > > > Regards, > > I asume the RETURN must be RETURN bProc ? > No, just RETURN. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Mar 20 09:58:45 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 20 Mar 2004 09:58:45 +0100 Subject: [Gambas-user] BUG: Find/Replace case In-Reply-To: <200403182037.20674.ronstk@...239...> References: <200403182037.20674.ronstk@...239...> Message-ID: <200403200958.45656.gambas@...1...> On Thursday 18 March 2004 20:37, ron wrote: > Hi, > > I have in the code names with uppercase and lowercase like > MyTest and mytest and decide it should be MyProg > During the search for Test to replace with Prog it finds Test and test > but the replace is only for Test. > > The checkmark for case sensitive is off after open the F/R box and not > touched. In fact they are all off. > > grts Ron > > OK. I fixed the bug. The find & replace form is one the earliest code I did in the IDE, and I must tell people that it is a bit horrible, and have many bugs. I think I will redo it before 1.0 Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Mar 20 10:02:22 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 20 Mar 2004 10:02:22 +0100 Subject: [Gambas-user] TextArea.ToLine(x) confusing In-Reply-To: <405AE21E.10804@...221...> References: <405AE21E.10804@...221...> Message-ID: <200403201002.22742.gambas@...1...> On Friday 19 March 2004 13:05, Eilert wrote: > Hi, > > I've almost finished my first project with Gambas - absolutely amazing > thing :-) > > However, when I wanted to make a function that outputs the text from > TextArea1 to the printer, I found that the TextArea1.ToLine(x) function > does NOT return the line but the paragraph - apparently it is programmed > to count the number of CRs in the text. As long as the TextArea's "Wrap" > is not set to True, this makes sense (every line is a paragraph). I can't change that, because it is the behaviour of the widget in QT. It counts paragraphs, not line. I kept the word line, and I agree it becomes strange when Wrap is True. > > In my case, "Wrap" is set to True, enabling the TextArea to work like a > real text input field and delimiting the line width to the width of the > text area. When you give ToLine the number of the character in the text, > you would expect to have the actual line returned here. > > Now, is there a way of having TextArea telling me on what line the > cursor (or printing counter, resp.) is standing, or will I really have > to make a function that recalculates the line wrapping for the printing? At the moment, you must do it by hand with Font.TextWidth. I think I will make a function HeightForWidth that will return a text height when the width is given. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sat Mar 20 16:40:32 2004 From: ronstk at ...239... (ron) Date: Sat, 20 Mar 2004 16:40:32 +0100 Subject: [Gambas-user] BUG: Find/Replace case In-Reply-To: <200403200958.45656.gambas@...1...> References: <200403182037.20674.ronstk@...239...> <200403200958.45656.gambas@...1...> Message-ID: <200403201640.32789.ronstk@...239...> On Saturday 20 March 2004 09:58, Benoit Minisini wrote: > On Thursday 18 March 2004 20:37, ron wrote: > > Hi, > > > > I have in the code names with uppercase and lowercase like > > MyTest and mytest and decide it should be MyProg > > During the search for Test to replace with Prog it finds Test and test > > but the replace is only for Test. > > > > The checkmark for case sensitive is off after open the F/R box and not > > touched. In fact they are all off. > > > > grts Ron > > OK. I fixed the bug. > > The find & replace form is one the earliest code I did in the IDE, and I > must tell people that it is a bit horrible, and have many bugs. I think I > will redo it before 1.0 > > Regards, Thanks. One wish from me if you redo it and have time to implement. I did use Ultra edit with my windows box and the Find had a nice feature. If you used Find/Replace it could, by check box, show all the lines matching in a popup list and a click in this list the editor was going to the matching line. It gives a good overview what the Find/Replace will give/do before you start to change anything. Ron From Karl.Reinl at ...9... Sat Mar 20 15:10:43 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 20 Mar 2004 15:10:43 +0100 Subject: [Gambas-user] BUG in Autocompletion Message-ID: <200403201510.43635.Karl.Reinl@...9...> Salut Benoit, finally I refoud that bug, and you can reproduce it as well I think. It was not 'Too much Item not found in debugger, followed by an crash.' like I angry wrote, It is a bug in the Autocompletion. Do the following: Dim s as (now the Windows pop up) -> snapshot2 Don't use the keyboard use the mouse and click to one who is NOT VISIBLE proposed (you have to slide down) here class -> snapshot3 If you click 'Class' you'v got -> -> snapshot1 By using the Keyboard to do that, it works, even if you chosse one who is visible, if the window pops up. to an older PB: /opt/gambas/share/examples is still owned by root:root . Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot1.png Type: image/png Size: 5686 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040320/f2193b22/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot2.png Type: image/png Size: 8590 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040320/f2193b22/attachment-0001.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot3.png Type: image/png Size: 1459 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040320/f2193b22/attachment-0002.png> From ronstk at ...239... Sat Mar 20 18:21:48 2004 From: ronstk at ...239... (ron) Date: Sat, 20 Mar 2004 18:21:48 +0100 Subject: [Gambas-user] REQ: Completion (Suggest Solution) In-Reply-To: <200403182013.40334.ronstk@...239...> References: <200403182013.40334.ronstk@...239...> Message-ID: <200403201821.48826.ronstk@...239...> On Thursday 18 March 2004 20:13, ron wrote: > Hi, > > Completion works on Public items but should it not > also work on Private items inside the same class? > > Ron > Hi Benoit, Durring the change for the FEditor bug I try to fix the Private/Public to. My solution is in FCompletion.class is as follows line 139: DIM sName AS String lvwComp.Clear cSymbol = CComponent.GetClassSymbols(sClass) change to by adding DIM sName AS String DIM bAlien AS Boolean 'PRINT "FillWithSymbol()";project.ActiveForm.Title,sClass bAlien=Left(project.ActiveForm.Title,Len(sClass))<>sClass ' PRINT "Alien=";If(bAlien,"true","false") lvwComp.Clear -------- line now 150 IF hSymbol.Kind = ":" THEN CONTINUE IF hSymbol.NotPublic THEN CONTINUE IF bStatic THEN changed to IF hSymbol.Kind = ":" THEN CONTINUE IF bAlien AND hSymbol.NotPublic THEN CONTINUE IF bStatic THEN ------ optional change line 162 FOR EACH sSymbol IN aSymbol hSymbol = cSymbol[sSymbol] TRY lvwComp.Add(sSymbol, sSymbol, Picture[hSymbol.GetIcon()]) NEXT change to FOR EACH sSymbol IN aSymbol hSymbol = cSymbol[sSymbol] TRY lvwComp.Add(sSymbol, sSymbol & If( hSymbol.NotPublic," (priv)",""), Picture[hSymbol.GetIcon()]) NEXT -------- must if optional is done line 319 now $hEditor.Selection($hEditor.ToPos($hEditor.Line, $iCol), $hEditor.Column - $iCol) $hEditor.Insert(lvwComp.Current..Text) $hEditor.Frozen = FALSE change to $hEditor.Selection($hEditor.ToPos($hEditor.Line, $iCol), $hEditor.Column - $iCol) $hEditor.Insert(lvwComp.Current.Key)' $hEditor.Frozen = FALSE -------- Explanation for the optional is in this way in the completion box can a hint added to the entry and is not pasted when it is chosen Here I did it to sign it is a private declaration. When you edit in a class with PRIVATE and PUBLIC SUB's both are now in Completion box When you edit in another class only the PUBLIC is visible. Greeting Ron From Karl.Reinl at ...9... Sat Mar 20 16:26:12 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 20 Mar 2004 16:26:12 +0100 Subject: [Gambas-user] BUG while debugging Message-ID: <200403201626.12215.Karl.Reinl@...9...> Salut Benoit, 'Too much Item not found in debugger, followed by an crash.' Was finally a bad conclution of my expirients that day. While debugging you can use cut and paste from the toolbar and you can save that. Watch Exp. from the toolbar don't open the Watch Exp.-Window if nothing is selected and you click Watch Exp. gambas crasches. (snapshot4) Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot4.png Type: image/png Size: 79616 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040320/974ee5f3/attachment.png> From Karl.Reinl at ...9... Sat Mar 20 17:05:37 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 20 Mar 2004 17:05:37 +0100 Subject: [Gambas-user] Nice dangerous Feature Message-ID: <200403201705.37889.Karl.Reinl@...9...> Salut Benoit, while tracking Bugs today I found this: It is a Nice dangerous Feature to start gambas several times, and open the same project several times. In snapshot5 I have (left Window) delete Class1 and saved then wrote something wrong into PUBLIC SUB btnFind_Click() (right Window) and clicked save and Run (snapshot6) In snapshot7 left Window delete Class1 and saved and tried to open it in right window (ending with a crash) Can you imagine what happens if gambas is open on several Desktops, you see Errors raising and don't understand what hes talking about. Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot6.png Type: image/png Size: 60371 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040320/0946136c/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot5.png Type: image/png Size: 64772 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040320/0946136c/attachment-0001.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot7.png Type: image/png Size: 63028 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040320/0946136c/attachment-0002.png> From trorrr at ...397... Sat Mar 20 21:15:02 2004 From: trorrr at ...397... (=?iso-8859-1?q?Dark=20Trorrr?=) Date: Sat, 20 Mar 2004 21:15:02 +0100 (CET) Subject: [Gambas-user] About KeyPress Message-ID: <20040320201502.23586.qmail@...398...> Hi. I'm trying to filter if the Enter key is pressed inside a TextBox (Named as TxtLinea), but i have some problems: If i use this code, the message is not launched: PUBLIC SUB TxtLinea_KeyPress() IF key.Return = TRUE THEN message("Se presion?") END But if i use this one, every key i press makes the condition true and shows the message: PUBLIC SUB TxtLinea_KeyPress() IF key.Return THEN message("Se presion?") END The same happens when i replace "Return" with "Enter". What i can do? ___________________________________________________ Yahoo! Messenger - Nueva versi?n GRATIS Super Webcam, voz, caritas animadas, y m?s... http://messenger.yahoo.es From sourceforge-raindog2 at ...94... Sat Mar 20 21:31:21 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 20 Mar 2004 15:31:21 -0500 Subject: [Gambas-user] About KeyPress In-Reply-To: <20040320201502.23586.qmail@...398...> References: <20040320201502.23586.qmail@...398...> Message-ID: <200403201531.21125.sourceforge-raindog2@...94...> On Saturday 20 March 2004 15:15, Dark Trorrr wrote: > IF key.Return = TRUE THEN message("Se presion?") > IF key.Return THEN message("Se presion?") IF Key.code = Key.return THEN message("Se presion?") Rob From trorrr at ...397... Sat Mar 20 23:15:51 2004 From: trorrr at ...397... (=?iso-8859-1?q?Dark=20Trorrr?=) Date: Sat, 20 Mar 2004 23:15:51 +0100 (CET) Subject: [Gambas-user] About KeyPress Message-ID: <20040320221551.27969.qmail@...399...> > IF Key.code = Key.return THEN message("Se presion?") Thx ___________________________________________________ Yahoo! Messenger - Nueva versi?n GRATIS Super Webcam, voz, caritas animadas, y m?s... http://messenger.yahoo.es From ronstk at ...239... Sun Mar 21 05:29:49 2004 From: ronstk at ...239... (ron) Date: Sun, 21 Mar 2004 05:29:49 +0100 Subject: [Gambas-user] BUG: FEditor resize Message-ID: <200403210529.49042.ronstk@...239...> Hallo Benoit In the Resize event of FEditor.class is a small error ELSE edtEditor.Move(0, 0, ME.ClientW, ME.Clie) <---- ? ENDIF Ron From trorrr at ...397... Sun Mar 21 18:15:04 2004 From: trorrr at ...397... (=?iso-8859-1?q?Dark=20Trorrr?=) Date: Sun, 21 Mar 2004 18:15:04 +0100 (CET) Subject: [Gambas-user] Extract data form ColumnView Message-ID: <20040321171504.69829.qmail@...400...> I'm trying to extract data (a string) from the line that is currently selected in a ColumnView control, but i don't get what i need. I think this is the normal way to do it: PUBLIC SUB ColumnView1_Select() ? message.info(ColumnView1[ColumnView1.Current][1]) END But it has a type incompatibility. The property Text can convert a ColumnViewItem in a String, but i've put it in several places in the line inside the ColumnView_Select() and my program continues crashing or says nothing in the Message. Can you help me? Thx. ___________________________________________________ Yahoo! Messenger - Nueva versi?n GRATIS Super Webcam, voz, caritas animadas, y m?s... http://messenger.yahoo.es From jscops at ...11... Sun Mar 21 19:04:57 2004 From: jscops at ...11... (Jack) Date: Sun, 21 Mar 2004 19:04:57 +0100 Subject: [Gambas-user] Columnview Message-ID: <200403211904.57472.jscops@...11...> Dark Trorrr write >I'm trying to extract data (a string) from the line >that is currently selected in a ColumnView control, >but i don't get what i need. I think this is the >PUBLIC SUB ColumnView1_Select() >message.info(ColumnView1[ColumnView1.Current][1]) >END >But it has a type incompatibility. The property Text >can convert a ColumnViewItem in a String, but i've put >it in several places in the line inside the >ColumnView_Select() and my program continues crashing >or says nothing in the Message. Can you help me? >Thx. I think that this work. message = columnView1.current[1] Jack From ronstk at ...239... Mon Mar 22 13:58:20 2004 From: ronstk at ...239... (ron) Date: Mon, 22 Mar 2004 13:58:20 +0100 Subject: [Gambas-user] BUG: Completion after END IF/WITH Message-ID: <200403221358.20225.ronstk@...239...> dim tb as TextBox WITH textarrea .txt="text" .tag="mytag" END WITH tb.???? Here the completion does not work on 'tb' variable the space in 'END WITH' must removed however to be able to run it must be inserted. Same problem occurs with the 'END IF' Here is no problem if the space exists or not. IF x=y then 'bla bla END IF The 'END IF' is accepted with and without a space but without the completion does not work below of it The 'END WITH' is only accepted with space and completion does not work below id space is in it Marking 'END IF' and 'END WITH' as error ? Ron From gambas at ...1... Mon Mar 22 17:07:16 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 22 Mar 2004 17:07:16 +0100 Subject: [Gambas-user] BUG: FEditor resize In-Reply-To: <200403210529.49042.ronstk@...239...> References: <200403210529.49042.ronstk@...239...> Message-ID: <200403221707.16794.gambas@...1...> On Sunday 21 March 2004 05:29, ron wrote: > Hallo Benoit > > In the Resize event of FEditor.class is a small error > > ELSE > edtEditor.Move(0, 0, ME.ClientW, ME.Clie) <---- ? > ENDIF > > Ron > > I did that to make the screenshot on the web site, and I stupidly saved it! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Mar 22 17:11:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 22 Mar 2004 17:11:05 +0100 Subject: [Gambas-user] Extract data form ColumnView In-Reply-To: <20040321171504.69829.qmail@...400...> References: <20040321171504.69829.qmail@...400...> Message-ID: <200403221711.05175.gambas@...1...> On Sunday 21 March 2004 18:15, Dark Trorrr wrote: > I'm trying to extract data (a string) from the line > that is currently selected in a ColumnView control, > but i don't get what i need. I think this is the > normal way to do it: > > PUBLIC SUB ColumnView1_Select() > ? message.info(ColumnView1[ColumnView1.Current][1]) > END > Do Message.Info(ColumnView1.Current[1]) Or Message.Info(ColumnView1[ColumnView1.Key][1]) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Mar 22 17:38:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 22 Mar 2004 17:38:36 +0100 Subject: [Gambas-user] No menu In-Reply-To: <40574FB7.6050709@...325...> References: <40574FB7.6050709@...325...> Message-ID: <200403221738.36762.gambas@...1...> On Tuesday 16 March 2004 20:04, Pozzo wrote: > Hi All > I'm already working on the Gmine game and I tried to create a menu on it > but when I finished it and I tried to run it it told me that there was a > Syntax error on the last line of the project, so I retried many times > but nothing works, then I tried to create a menu on an empty project and > it works. I really don't understand what's happening. > > P.S. here is the project > > Maurizio OK. I fixed the bug: now the compiler deals correctly with control or menus whose name is the same as existing classes. In any case, you should avoid naming your controls with class names! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Mar 22 17:42:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 22 Mar 2004 17:42:08 +0100 Subject: [Gambas-user] Langage module in gambas IDE In-Reply-To: <200403171247.56936.ronstk@...239...> References: <200403171247.56936.ronstk@...239...> Message-ID: <200403221742.08578.gambas@...1...> On Wednesday 17 March 2004 12:47, ron wrote: > Hi Benoit, > > I had a look in the gambas IDE code the Language module. > > For me there is a strange thing with the 'en' group. > As I'm understanding it right then the declarations are as follows > i18n have 'en' = USA and 'en_GB' = United Kingdom > You have 'en' = United Kingdom and 'en_US'=USA > > SuSE is using both as I found in some suseconfig files. > 'en_US' in SuSE 8.2 KDE 3.1.1 and 'en_GB' in update KDE 3.1.4 > May be that is the reason the Help was broken by many users > after this upgrade. > Bug number 61065 > ------- Additional Comment #3 From Stephan Binner 2003-07-11 00:27 ------- > I don't know if anybody cares if only SuSE's documentation is affected. :-) > > Some other programs are installing for several languages where the > developer is nice to provide them and use 'en_GB' or as 'en_US', > dependant on there distribution? > > Some help was only in 'en', as default for KDE packages, > other only if 'en_GB' or 'en_US' was chosen. > > I suggest to use > Name["en"] = ("English (common)") > Name["en_GB"] = ("English (United Kingdom)") > Name["en_US"] = ("English (U.S.A.)") > Name["en_AU"] = ("English (Australia)") > Name["en_CA"] = ("English (Canada)") > > Witch sound more correct to me, the logic between the braches the specific > for country. Idea? > > Ron > I follow you. You will tell me in the next version if the problem is solved. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Mar 22 17:45:58 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 22 Mar 2004 17:45:58 +0100 Subject: [Gambas-user] BUG: Completion after END IF/WITH In-Reply-To: <200403221358.20225.ronstk@...239...> References: <200403221358.20225.ronstk@...239...> Message-ID: <200403221745.58897.gambas@...1...> On Monday 22 March 2004 13:58, ron wrote: > dim tb as TextBox > > WITH textarrea > .txt="text" > .tag="mytag" > END WITH > > tb.???? > > Here the completion does not work on 'tb' variable > the space in 'END WITH' must removed however to > be able to run it must be inserted. > > Same problem occurs with the 'END IF' > Here is no problem if the space exists or not. > IF x=y then > 'bla bla > END IF > > The 'END IF' is accepted with and without a space but without the > completion does not work below of it > The 'END WITH' is only accepted with space and completion does not work > below id space is in it > > Marking 'END IF' and 'END WITH' as error ? > > Ron > OK. I fixed the bug... -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Mon Mar 22 17:57:29 2004 From: ronstk at ...239... (ron) Date: Mon, 22 Mar 2004 17:57:29 +0100 Subject: [Gambas-user] No menu In-Reply-To: <200403221738.36762.gambas@...1...> References: <40574FB7.6050709@...325...> <200403221738.36762.gambas@...1...> Message-ID: <200403221757.29515.ronstk@...239...> On Monday 22 March 2004 17:38, Benoit Minisini wrote: > On Tuesday 16 March 2004 20:04, Pozzo wrote: > > Hi All > > I'm already working on the Gmine game and I tried to create a menu on it > > but when I finished it and I tried to run it it told me that there was a > > Syntax error on the last line of the project, so I retried many times > > but nothing works, then I tried to create a menu on an empty project and > > it works. I really don't understand what's happening. > > > > P.S. here is the project > > > > Maurizio > > OK. I fixed the bug: now the compiler deals correctly with control or menus > whose name is the same as existing classes. > > In any case, you should avoid naming your controls with class names! > > Regards, A question about the menu names. Are underscores allowed? In my project I build for completion I had them and now I get errors on them but they still works. Ron From awh at ...401... Mon Mar 22 18:36:20 2004 From: awh at ...401... (Alan Huseby) Date: Mon, 22 Mar 2004 12:36:20 -0500 Subject: [Gambas-user] Bug: Shell command gives segmentaion fault Message-ID: <OLEOKKILJMOJDFHFFACBEEKPCBAA.awh@...401...> I've had this problem for a couple of releases of Gambas ago, I figured it was just a problem with my code, but I finally decided to try and track it down. If I try to run the shell command even by itself in a new program where it's the only line of code, it still segfaults. My app is console based, currently running on LinuxMandrake 10, also tested on RedHat 7.3, Mandrake 9, 9.1, and 9.2 with same problems. AMD XP-1800+, 512MB RAM In a new blank application the following causes the segfault for me: shell "lynx -source > test.txt" wait The program does run and functions normally. (gdb) run Starting program: /usr/bin/gbx -p My test program Detaching after fork from child process 10305. Program received signal SIGSEGV, Segmentation fault. 0x0805fd28 in watch_fd (fd=-1, flag=0) at gbx_watch.c:67 67 FD_CLR(fd, &read_fd); (gdb) bt #0 0x0805fd28 in watch_fd (fd=-1, flag=0) at gbx_watch.c:67 #1 0x0805fe18 in WATCH_watch (fd=-1, type=0, callback=0x0, param=0) at gbx_watch.c:114 #2 0x0805d970 in GB_Watch (fd=-1, flag=0, callback=0x0, param=0) at gbx_api.c:918 #3 0x08065451 in exit_process (_object=0x8074bd0) at gbx_c_process.c:138 #4 0x080654fe in stop_process_after (param=134695888) at gbx_c_process.c:171 #5 0x08054f66 in EVENT_check_post () at gbx_event.c:176 #6 0x0805fff4 in WATCH_loop () at gbx_watch.c:189 #7 0x08060a6c in main (argc=1, argv=0xbffff714) at gbx.c:276 (gdb) Any help would be appreciated. From creafab at ...402... Mon Mar 22 21:46:04 2004 From: creafab at ...402... (Fabien3D) Date: Mon, 22 Mar 2004 21:46:04 +0100 Subject: [Gambas-user] Test Message-ID: <200403222146.04893.creafab@...402...> -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From creafab at ...402... Mon Mar 22 21:47:05 2004 From: creafab at ...402... (Fabien3D) Date: Mon, 22 Mar 2004 21:47:05 +0100 Subject: [Gambas-user] Test Message-ID: <200403222147.05106.creafab@...402...> -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From creafab at ...402... Mon Mar 22 21:51:02 2004 From: creafab at ...402... (Fabien3D) Date: Mon, 22 Mar 2004 21:51:02 +0100 Subject: [Gambas-user] Gambas installation Message-ID: <200403222151.02427.creafab@...402...> Hi ! I'd like to install Gambas on my Mandrake 9.2, but though I've downloaded all the binaries, none of them seems to install because a dependency is not satisfied... which should be installed by another package that doesn't work neither because of a dependency problem... What am I doing wrong ? -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From zerkowski at ...395... Mon Mar 22 21:55:11 2004 From: zerkowski at ...395... (zerkowski sur bouquiniste.biz) Date: Mon, 22 Mar 2004 21:55:11 +0100 Subject: [Gambas-user] Gambas installation In-Reply-To: <200403222151.02427.creafab@...402...> References: <200403222151.02427.creafab@...402...> Message-ID: <405F52AF.2020707@...395...> Bonjour, hello, I've had the same problem . Get the source .tar.gz and compile it . That work. <french> j'ai eu le m?me probl?me . T?l?charge le source tar.gz et compile le . Ensuite avec le terminal lance gambas, ?a marche. </french> Fabien3D a ?crit : >Hi ! > >I'd like to install Gambas on my Mandrake 9.2, but though I've downloaded all >the binaries, none of them seems to install because a dependency is not >satisfied... which should be installed by another package that doesn't work >neither because of a dependency problem... What am I doing wrong ? > > From sourceforge-raindog2 at ...94... Mon Mar 22 21:54:39 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 22 Mar 2004 15:54:39 -0500 Subject: [Gambas-user] Gambas installation In-Reply-To: <200403222151.02427.creafab@...402...> References: <200403222151.02427.creafab@...402...> Message-ID: <200403221554.40025.sourceforge-raindog2@...94...> On Monday 22 March 2004 15:51, Fabien3D wrote: > I'd like to install Gambas on my Mandrake 9.2, but though I've > downloaded all the binaries, none of them seems to install > because a dependency is not satisfied... which should be > installed by another package that doesn't work neither because > of a dependency problem... What am I doing wrong ? Probably you're not typing "urpmi *" or "rpm -ivh *" in the directory with your gambas packages. If you set up my site as a download source (instructions at http://www.thebrix.org.uk along with a bunch of other unofficial download sources) you can also just do it through mandrake's package manager. Rob From creafab at ...402... Mon Mar 22 22:18:11 2004 From: creafab at ...402... (Fabien3D) Date: Mon, 22 Mar 2004 22:18:11 +0100 Subject: [Gambas-user] Gambas installation In-Reply-To: <200403221554.40025.sourceforge-raindog2@...94...> References: <200403222151.02427.creafab@...402...> <200403221554.40025.sourceforge-raindog2@...94...> Message-ID: <200403222218.11704.creafab@...402...> Le Lundi 22 Mars 2004 21:54, Rob a ?crit : > On Monday 22 March 2004 15:51, Fabien3D wrote: > > I'd like to install Gambas on my Mandrake 9.2, but though I've > > downloaded all the binaries, none of them seems to install > > because a dependency is not satisfied... which should be > > installed by another package that doesn't work neither because > > of a dependency problem... What am I doing wrong ? > > Probably you're not typing "urpmi *" or "rpm -ivh *" in the > directory with your gambas packages. > > If you set up my site as a download source (instructions at > http://www.thebrix.org.uk along with a bunch of other unofficial > download sources) you can also just do it through mandrake's > package manager. It worked ! Thanks ! -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From gambas at ...1... Mon Mar 22 22:13:46 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 22 Mar 2004 22:13:46 +0100 Subject: [Gambas-user] No menu In-Reply-To: <200403221757.29515.ronstk@...239...> References: <40574FB7.6050709@...325...> <200403221738.36762.gambas@...1...> <200403221757.29515.ronstk@...239...> Message-ID: <200403222213.46826.gambas@...1...> On Monday 22 March 2004 17:57, ron wrote: > On Monday 22 March 2004 17:38, Benoit Minisini wrote: > > On Tuesday 16 March 2004 20:04, Pozzo wrote: > > > Hi All > > > I'm already working on the Gmine game and I tried to create a menu on > > > it but when I finished it and I tried to run it it told me that there > > > was a Syntax error on the last line of the project, so I retried many > > > times but nothing works, then I tried to create a menu on an empty > > > project and it works. I really don't understand what's happening. > > > > > > P.S. here is the project > > > > > > Maurizio > > > > OK. I fixed the bug: now the compiler deals correctly with control or > > menus whose name is the same as existing classes. > > > > In any case, you should avoid naming your controls with class names! > > > > Regards, > > A question about the menu names. > Are underscores allowed? > In my project I build for completion I had them and now I get errors > on them but they still works. > > Ron > Yes, underscores are allowed. But what do you mean by "I get errors on them" ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Mar 22 22:25:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 22 Mar 2004 22:25:00 +0100 Subject: [Gambas-user] Bug: Shell command gives segmentaion fault In-Reply-To: <OLEOKKILJMOJDFHFFACBEEKPCBAA.awh@...401...> References: <OLEOKKILJMOJDFHFFACBEEKPCBAA.awh@...401...> Message-ID: <200403222225.00015.gambas@...1...> On Monday 22 March 2004 18:36, Alan Huseby wrote: > I've had this problem for a couple of releases of Gambas ago, I figured it > was just a problem with my code, but I finally decided to try and track it > down. If I try to run the shell command even by itself in a new program > where it's the only line of code, it still segfaults. My app is console > based, currently running on LinuxMandrake 10, also tested on RedHat 7.3, > Mandrake 9, 9.1, and 9.2 with same problems. AMD XP-1800+, 512MB RAM > > In a new blank application the following causes the segfault for me: > > shell "lynx -source > test.txt" wait > > The program does run and functions normally. > > (gdb) run > Starting program: /usr/bin/gbx -p > My test program > Detaching after fork from child process 10305. > > Program received signal SIGSEGV, Segmentation fault. > 0x0805fd28 in watch_fd (fd=-1, flag=0) at gbx_watch.c:67 > 67 FD_CLR(fd, &read_fd); > (gdb) bt > #0 0x0805fd28 in watch_fd (fd=-1, flag=0) at gbx_watch.c:67 > #1 0x0805fe18 in WATCH_watch (fd=-1, type=0, callback=0x0, param=0) at > gbx_watch.c:114 > #2 0x0805d970 in GB_Watch (fd=-1, flag=0, callback=0x0, param=0) at > gbx_api.c:918 > #3 0x08065451 in exit_process (_object=0x8074bd0) at gbx_c_process.c:138 > #4 0x080654fe in stop_process_after (param=134695888) at > gbx_c_process.c:171 > #5 0x08054f66 in EVENT_check_post () at gbx_event.c:176 > #6 0x0805fff4 in WATCH_loop () at gbx_watch.c:189 > #7 0x08060a6c in main (argc=1, argv=0xbffff714) at gbx.c:276 > (gdb) > > Any help would be appreciated. > > Thanks for the bug report. This bug will be fixed in the next version. As a temporary workaround, you can add the gb.qt component to your console application. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Mar 22 22:29:24 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 22 Mar 2004 22:29:24 +0100 Subject: [Gambas-user] Shell problem with gambas 0.91 and mdk9.2 In-Reply-To: <405ADF69.8040604@...284...> References: <E1B4BQa-0003Qs-Ny@...39...> <405ADF69.8040604@...284...> Message-ID: <200403222229.24924.gambas@...1...> On Friday 19 March 2004 12:54, Luke Cliff wrote: > Hello Gambas, > I've had a bad few days here, I just had sent up the new > mandrake 10 community edition, I love the new looks, and stuff, even the > support for a "real bought one remote", except that my CD-RW no longer > works, and I have no access to the temperature sensors for my lovely > gambas storm watcher.....so I'm going home to mdk9.2 > ///when I did arrive home and the front door welcoming me home, I > installed gambas 0.91... everything was fine until I sat down for the > night and ordered gambas to play some "easy listening".....tried out my > remote control...Bang, back to attendance. > the code> > > sub PlayMe() > > Dim App as Object > App = Application[""] > ThisProgram="xmms -p Listfile.m3u &" > Shell(ThisProgram,App,1) > > end > > now hangs at Shell() until I close "ThisProgram", > is there someone who knows how to continue after the Shell() command, > regardless of weather the program or script has finished? 0.90 does this > fine... > > Regards > Luke > > I have no idea where this code comes from: Dim App as Object App = Application[""] ThisProgram="xmms -p Listfile.m3u &" Shell(ThisProgram,App,1) It is not Gambas code !?? In all cases, don't use Shell this way. Use the SHELL instruction instead. SHELL "xmms -p Listfile.m3u" Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Mar 22 22:35:14 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 22 Mar 2004 22:35:14 +0100 Subject: [Gambas-user] PRB: Completion 2 Symbol inconsistent In-Reply-To: <200403191355.12085.ronstk@...239...> References: <200403191355.12085.ronstk@...239...> Message-ID: <200403222235.14451.gambas@...1...> On Friday 19 March 2004 13:55, ron wrote: > Strict it is is right because the name is right however in the class using > the property the _Read and _Write where not typed in the past. > In class1 the _Read and _Write must for properties as the docmentation > say's. > > ------- > 'class 1 > > property read Name AS String > > private m_name as string > private m_nameold as string > > public function Name_Read() as string > return m_name > end > public function Name_Write() as string > msgPopUp ("Can't do this") > end > public sub Rename(newnam as string) > ....... > m_name=newnam > end > --------- > 'class2 > > public sub doit() > if class1.Name="horse" then .... > if class1.Name_Read="gambas" then .... > end > ------- > > > in class2 Name comes as Name_Read, Name_Write and Name_Rename > in completion box. Do i something wrong or is this a beauty bug? > > Ron > > Your story is very obscure! But it helped me to find a bug in completion: property defined in a class were not displayed. This will be fixed in the next version. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Mar 22 22:47:40 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 22 Mar 2004 22:47:40 +0100 Subject: [Gambas-user] BUG while debugging In-Reply-To: <200403201626.12215.Karl.Reinl@...9...> References: <200403201626.12215.Karl.Reinl@...9...> Message-ID: <200403222247.40422.gambas@...1...> On Saturday 20 March 2004 16:26, Charlie Reinl wrote: > Salut Benoit, > > > 'Too much Item not found in debugger, followed by an crash.' > Was finally a bad conclution of my expirients that day. > > While debugging you can use cut and paste from the toolbar and you can > save that. > > Watch Exp. from the toolbar don't open the Watch Exp.-Window > if nothing is selected and you click Watch Exp. gambas crasches. > (snapshot4) > > Amicalement > Charlie Hi Charlie, Thanks for the bug report. This will be fixed in the next version. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Mon Mar 22 22:54:06 2004 From: ronstk at ...239... (ron) Date: Mon, 22 Mar 2004 22:54:06 +0100 Subject: [Gambas-user] PRB: Completion 2 Symbol inconsistent In-Reply-To: <200403222235.14451.gambas@...1...> References: <200403191355.12085.ronstk@...239...> <200403222235.14451.gambas@...1...> Message-ID: <200403222254.06933.ronstk@...239...> On Monday 22 March 2004 22:35, Benoit Minisini wrote: > On Friday 19 March 2004 13:55, ron wrote: > > Strict it is is right because the name is right however in the class > > using the property the _Read and _Write where not typed in the past. > > In class1 the _Read and _Write must for properties as the docmentation > > say's. > > > > ------- > > 'class 1 > > > > property read Name AS String > > > > private m_name as string > > private m_nameold as string > > > > public function Name_Read() as string > > return m_name > > end > > public function Name_Write() as string > > msgPopUp ("Can't do this") > > end > > public sub Rename(newnam as string) > > ....... > > m_name=newnam > > end > > --------- > > 'class2 > > > > public sub doit() > > if class1.Name="horse" then .... > > if class1.Name_Read="gambas" then .... > > end > > ------- > > > > > > in class2 Name comes as Name_Read, Name_Write and Name_Rename > > in completion box. Do i something wrong or is this a beauty bug? > > > > Ron > > Your story is very obscure! > > But it helped me to find a bug in completion: property defined in a class > were not displayed. This will be fixed in the next version. > > Regards, I don't understand obscure yet. Property in a class ARE displayed here but with the addition of _Read and _Write part. Did you look to? Re: [Gambas-user] REQ: Completion (Suggest Solution) I have it done in my local version and works now properly. Ron From ronstk at ...239... Mon Mar 22 22:44:24 2004 From: ronstk at ...239... (ron) Date: Mon, 22 Mar 2004 22:44:24 +0100 Subject: [Gambas-user] No menu In-Reply-To: <200403222213.46826.gambas@...1...> References: <40574FB7.6050709@...325...> <200403221757.29515.ronstk@...239...> <200403222213.46826.gambas@...1...> Message-ID: <200403222244.25222.ronstk@...239...> On Monday 22 March 2004 22:13, Benoit Minisini wrote: > On Monday 22 March 2004 17:57, ron wrote: > > On Monday 22 March 2004 17:38, Benoit Minisini wrote: > > > On Tuesday 16 March 2004 20:04, Pozzo wrote: > > > > Hi All > > > > I'm already working on the Gmine game and I tried to create a menu on > > > > it but when I finished it and I tried to run it it told me that there > > > > was a Syntax error on the last line of the project, so I retried many > > > > times but nothing works, then I tried to create a menu on an empty > > > > project and it works. I really don't understand what's happening. > > > > > > > > P.S. here is the project > > > > > > > > Maurizio > > > > > > OK. I fixed the bug: now the compiler deals correctly with control or > > > menus whose name is the same as existing classes. > > > > > > In any case, you should avoid naming your controls with class names! > > > > > > Regards, > > > > A question about the menu names. > > Are underscores allowed? > > In my project I build for completion I had them and now I get errors > > on them but they still works. > > > > Ron > > Yes, underscores are allowed. But what do you mean by "I get errors on > them" ? When I click on &Paste or &Undo in the list I get the snapshot As you can see the name is in such case mnuEdit_Undo. Before the underscore is the menubar and the entries are after the underscore. Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: menu-bug.png Type: image/png Size: 16529 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040322/ba9173b2/attachment.png> From gambas at ...1... Tue Mar 23 19:04:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 23 Mar 2004 19:04:54 +0100 Subject: [Gambas-user] No menu In-Reply-To: <200403222244.25222.ronstk@...239...> References: <40574FB7.6050709@...325...> <200403222213.46826.gambas@...1...> <200403222244.25222.ronstk@...239...> Message-ID: <200403231904.54884.gambas@...1...> On Monday 22 March 2004 22:44, ron wrote: > On Monday 22 March 2004 22:13, Benoit Minisini wrote: > > On Monday 22 March 2004 17:57, ron wrote: > > > On Monday 22 March 2004 17:38, Benoit Minisini wrote: > > > > > > A question about the menu names. > > > Are underscores allowed? > > > In my project I build for completion I had them and now I get errors > > > on them but they still works. > > > > > > Ron > > > > Yes, underscores are allowed. But what do you mean by "I get errors on > > them" ? > > When I click on &Paste or &Undo in the list I get the snapshot > As you can see the name is in such case mnuEdit_Undo. > Before the underscore is the menubar and the entries are after the > underscore. > > > Ron The underscore is forbidden in control names to avoid a confusion with event handler procedure names. -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Tue Mar 23 22:11:52 2004 From: ronstk at ...239... (ron) Date: Tue, 23 Mar 2004 22:11:52 +0100 Subject: [Gambas-user] How do I use TreeView/ColumnView Message-ID: <200403232211.52708.ronstk@...239...> I have a list of entries made in the ColumnView r-1 l1-1 'World' l2-1 'Water l2-2 'Hello' l2-3 l1-2 l2-1 l2-2 l2-3 l1-3 When I click on r-1 -> l-1 -> ,l2-2 containing Hello the _Select is fired if it is the first time and then the _Click The .key , .Item.Key and .Current.Key give all the same node key as 'r-1/l1-1/l2-2.' When I in code do ColumnView1.MoveFirst they stay the same instead of going to 'r-1' When I do ColumnView1.MoveNext or ColumnView1.MovePrevious or any of the other the key stays the same. Using .MoveTo("r-1") does also nothing. If I must use MoveTo(key) to go to the parent how do I get the key of the parent, assume .MoveParent returns False so there is a parent. I know that if the key is build as a path then I can get the key of the parent and use it in a .MoveTo() if that worked. But How do I find out the key for 'r-1/l1-1/l-1' with 'Water' as text Despite the nummers in the keys in the example above, try to see it as directories, subdirectories and filename. I understand it now the .MoveXXXX returns False if it can done and True if not posible, or in another way, if they return True means that it can't be done like a error. They show to me as a request "Do I get a error if I do MoveXXX" but how do I then actual do the MoveXXX operation? When I click at item with 'Hello' how do I get the text 'World' in the parent node? The attachment contains my test program. There is now a TreeView and a ColumnView in the form. I put the TreeView as last check on it to test if it did the same and it does. ATM I am lost how to use the ColumnView/TreeView Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: Columnview-0.0.tar.gz Type: application/x-tgz Size: 1593 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040323/ee987bdf/attachment.bin> From Karl.Reinl at ...9... Tue Mar 23 23:35:05 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 23 Mar 2004 23:35:05 +0100 Subject: [Gambas-user] gb.qt.kde makes the difference Message-ID: <200403232335.05447.Karl.Reinl@...9...> Salut, before I had problems with that (at that time I used qt-3.1.x) . Today I found out, that only the fact to add the component gb.qt.kde to the project, makes the difference between snapshot8 and snapshot9. Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot8.png Type: image/png Size: 9092 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040323/2a9865c7/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot9.png Type: image/png Size: 13279 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040323/2a9865c7/attachment-0001.png> From neil at ...233... Wed Mar 24 00:29:04 2004 From: neil at ...233... (neil lewis) Date: Tue, 23 Mar 2004 23:29:04 +0000 Subject: [Gambas-user] LILi Message-ID: <4060C840.7000701@...233...> Hi all, I'm using Gambas and ImageMagick to make a tool for creating interlaced images for lenticular printing. (In case you don't know, this process uses a sheet of thin plastic with moulded cylindrical lenses in the front surface to produce a 3D or animated effect) The first release is on sourceforge at https://sourceforge.net/projects/lili-01/ I'm very much open to suggestions/improvements and collaboration! Neil Lewis, London. From gambas at ...1... Tue Mar 23 23:30:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 23 Mar 2004 23:30:41 +0100 Subject: [Gambas-user] BUG in Autocompletion In-Reply-To: <200403201510.43635.Karl.Reinl@...9...> References: <200403201510.43635.Karl.Reinl@...9...> Message-ID: <200403232330.41174.gambas@...1...> On Saturday 20 March 2004 15:10, Charlie Reinl wrote: > Salut Benoit, > > finally I refoud that bug, and you can reproduce it as well I think. > It was not 'Too much Item not found in debugger, followed by an crash.' > like I angry wrote, It is a bug in the Autocompletion. > > Do the following: > > Dim s as (now the Windows pop up) -> snapshot2 > > Don't use the keyboard use the mouse and click to one who is NOT VISIBLE > proposed (you have to slide down) > here class -> snapshot3 > > If you click 'Class' you'v got -> -> snapshot1 This should be fixed now :-) > > By using the Keyboard to do that, it works, even if you chosse one who is > visible, if the window pops up. > > to an older PB: > /opt/gambas/share/examples is still owned by root:root . But /opt/gambas/share/examples will always be owned by root:root. Things have just to be world readable. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Wed Mar 24 02:08:11 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 23 Mar 2004 20:08:11 -0500 Subject: [Gambas-user] BUG in Autocompletion In-Reply-To: <200403232330.41174.gambas@...1...> References: <200403201510.43635.Karl.Reinl@...9...> <200403232330.41174.gambas@...1...> Message-ID: <200403232008.11704.sourceforge-raindog2@...94...> On Tuesday 23 March 2004 17:30, Benoit Minisini wrote: > > to an older PB: > > /opt/gambas/share/examples is still owned by root:root . > But /opt/gambas/share/examples will always be owned by > root:root. Things have just to be world readable. Well, the problem is, you can't actually compile projects in a read-only directory, making the examples kinda hard to work with :) Maybe the "open examples" menu items in the IDE should copy the example to $HOME before opening it.... Rob From ronstk at ...239... Wed Mar 24 03:32:43 2004 From: ronstk at ...239... (ron) Date: Wed, 24 Mar 2004 03:32:43 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List Message-ID: <200403240332.43654.ronstk@...239...> Here a contribution of me Find is modified to show a list of occurrences. This way you get a overview where the text you try to find is found and howmany times. The 'Find' does not open all the files visible. This is handy if you do it for example on the gambas IDE code. Try it now for search of 'PRIVATE' in all files . Around 50 files will opened. How to? Copy the gambas source directory to the 'Examples' i.e. /opt/gambas/examples/gambas. Then replace the two files as included and tmake executable. Run the gambas in the examples/gambas directory. try then this Find again and see something like snapshots. With this version you get a list and do not need to close them all. Hope Beniot likes it to insert in the IDE Greetings Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: Columnview-0.0.tar.gz Type: application/x-tgz Size: 1593 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040324/29ec822d/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: FFind1.png Type: image/png Size: 30016 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040324/29ec822d/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: FFind2.png Type: image/png Size: 42170 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040324/29ec822d/attachment-0001.png> From ronstk at ...239... Wed Mar 24 04:02:12 2004 From: ronstk at ...239... (ron) Date: Wed, 24 Mar 2004 04:02:12 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403240332.43654.ronstk@...239...> References: <200403240332.43654.ronstk@...239...> Message-ID: <200403240402.12577.ronstk@...239...> On Wednesday 24 March 2004 03:32, ron wrote: > Here a contribution of me > > Find is modified to show a list of occurrences. > This way you get a overview where the text you try > to find is found and howmany times. > > The 'Find' does not open all the files visible. > This is handy if you do it for example on the gambas IDE code. > Try it now for search of 'PRIVATE' in all files . > Around 50 files will opened. > > How to? > Copy the gambas source directory to the 'Examples' i.e. > /opt/gambas/examples/gambas. > > Then replace the two files as included and tmake executable. > Run the gambas in the examples/gambas directory. > try then this Find again and see something like snapshots. > > With this version you get a list and do not need to close them all. > > Hope Beniot likes it to insert in the IDE > > Greetings Ron Sorry but I put the wrong .gz in the mail It must be FFindNew.tar.gz !! Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: FFindNew.tar.gz Type: application/x-tgz Size: 4211 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040324/3a81d1dd/attachment.bin> From rizky at ...225... Wed Mar 24 07:23:43 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Wed, 24 Mar 2004 13:23:43 +0700 Subject: [Gambas-user] PNG in the web Message-ID: <6.0.0.22.2.20040324131956.01d12e30@...329...> have you guys try to view the web in internet explorer ? the transparent png cann't be rendered smootly in IE, so the gambas picture will have a border. yeah i know that's the IE bugs... but why don't make the web can be viewed in many browser in the same look ? try to make a gif then... well, it just a suggestions... :) Regards, tahara! From sourceforge-raindog2 at ...94... Wed Mar 24 07:23:52 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 24 Mar 2004 01:23:52 -0500 Subject: [Gambas-user] PNG in the web In-Reply-To: <6.0.0.22.2.20040324131956.01d12e30@...329...> References: <6.0.0.22.2.20040324131956.01d12e30@...329...> Message-ID: <200403240123.52296.sourceforge-raindog2@...94...> On Wednesday 24 March 2004 01:23, Rizky Tahara Shita wrote: > yeah i know that's the IE bugs... but why don't make the web > can be viewed in many browser in the same look ? > try to make a gif then... Actually, I don't know whether the wiki is representative of the main gambas page, but only 31% of visitors use IE. The vast, eclipsing majority use Mozilla variants, and about 14% use Konqueror. I know, it's wild, huh? :) Never thought I'd see the day again, even on a linux oriented site. Between that and SCOX closing below 8 bucks last night I'm a bit pleased. Anyway, even though GIFs are legal here in the US once again, I see no reason to go back to a patent-encumbered format just because a minority browser has a bug. My feeling is, submit a bug report. Microsoft must have a bugzilla set up, right? ;) Rob From mauriiiii3001 at ...325... Tue Mar 23 21:03:48 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Tue, 23 Mar 2004 21:03:48 +0100 Subject: [Gambas-user] Gmine 0.9 In-Reply-To: <E1B5GpX-0002rj-1v@...39...> References: <E1B5GpX-0002rj-1v@...39...> Message-ID: <40609824.30509@...325...> Hi All, I've updated my little game, now you can choose the cells number (Thanks to Laurent :-)) and the form autorezize. These are the mains updates! You find it here: http://gambas.magic-systems.net/gbcode/gbfamily_6.tar.gz From ronstk at ...239... Wed Mar 24 16:53:57 2004 From: ronstk at ...239... (ron) Date: Wed, 24 Mar 2004 16:53:57 +0100 Subject: [Gambas-user] BUG: Found several bugs Message-ID: <200403241653.57586.ronstk@...239...> In: FPropertyFile Where:SUB Run What: FPropertyFile.Dialog Effect: Not existing if form Solution: change to FPropertyFile.ShowDialog In: FExplorer (HelpBrowser) Where: SUB Form_KeyPress What: CASE Key.BackSpace Effect: do not work Solution: create txvExplorer_KeyPress and copy content Form_KeyPress In: FExplorer (HelpBrowser) Where: several places What: missing links Effect: no info Solution: Wait till Benoit (or others) has time to create docs In: Where: What: Effect: Solution: In: Where: What: Effect: Solution: In: Where: What: Effect: Solution: In: Where: What: Effect: Solution: In: Where: What: Effect: Solution: From ronstk at ...239... Wed Mar 24 17:11:45 2004 From: ronstk at ...239... (ron) Date: Wed, 24 Mar 2004 17:11:45 +0100 Subject: [Gambas-user] BUG: Found several bugs In-Reply-To: <200403241653.57586.ronstk@...239...> References: <200403241653.57586.ronstk@...239...> Message-ID: <200403241711.45529.ronstk@...239...> On Wednesday 24 March 2004 16:53, ron wrote: Sorry but I wanted to save to draft instead of sending it already. The given are found at the moment. Ron. From abidoo.too at ...11... Wed Mar 24 20:15:44 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Wed, 24 Mar 2004 20:15:44 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403240402.12577.ronstk@...239...> References: <200403240332.43654.ronstk@...239...> <200403240402.12577.ronstk@...239...> Message-ID: <200403242015.44671.abidoo.too@...11...> Le Mercredi 24 Mars 2004 04:02, ron a ?crit : > On Wednesday 24 March 2004 03:32, ron wrote: > > Here a contribution of me > > > > Find is modified to show a list of occurrences. > > This way you get a overview where the text you try > > to find is found and howmany times. > > > > The 'Find' does not open all the files visible. > > This is handy if you do it for example on the gambas IDE code. > > Try it now for search of 'PRIVATE' in all files . > > Around 50 files will opened. > > > > How to? > > Copy the gambas source directory to the 'Examples' i.e. > > /opt/gambas/examples/gambas. > > > > Then replace the two files as included and tmake executable. > > Run the gambas in the examples/gambas directory. > > try then this Find again and see something like snapshots. > > > > With this version you get a list and do not need to close them all. > > > > Hope Beniot likes it to insert in the IDE > > > > Greetings Ron > > Sorry but I put the wrong .gz in the mail > > It must be FFindNew.tar.gz !! > > Ron You have been more speedy than me... good job ;) Fabien From abidoo.too at ...11... Wed Mar 24 22:44:03 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Wed, 24 Mar 2004 22:44:03 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403240402.12577.ronstk@...239...> References: <200403240332.43654.ronstk@...239...> <200403240402.12577.ronstk@...239...> Message-ID: <200403242244.03778.abidoo.too@...11...> hi ron I find a bug... 2 occur in the same line make a bug... I think you use the line number to set the columnview key. Fabien From ronstk at ...239... Wed Mar 24 23:29:19 2004 From: ronstk at ...239... (ron) Date: Wed, 24 Mar 2004 23:29:19 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403242244.03778.abidoo.too@...11...> References: <200403240332.43654.ronstk@...239...> <200403240402.12577.ronstk@...239...> <200403242244.03778.abidoo.too@...11...> Message-ID: <200403242329.19049.ronstk@...239...> On Wednesday 24 March 2004 22:44, Fabien Bodard wrote: > hi ron > > I find a bug... > > 2 occur in the same line make a bug... > > I think you use the line number to set the columnview key. > > Fabien > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Prove, i hope -------------- next part -------------- A non-text attachment was scrubbed... Name: FFindAdv-0.5.png Type: image/png Size: 73258 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040324/5897a75d/attachment.png> From ronstk at ...239... Wed Mar 24 23:26:40 2004 From: ronstk at ...239... (ron) Date: Wed, 24 Mar 2004 23:26:40 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403242244.03778.abidoo.too@...11...> References: <200403240332.43654.ronstk@...239...> <200403240402.12577.ronstk@...239...> <200403242244.03778.abidoo.too@...11...> Message-ID: <200403242326.40993.ronstk@...239...> On Wednesday 24 March 2004 22:44, Fabien Bodard wrote: > hi ron > > I find a bug... > > 2 occur in the same line make a bug... > > I think you use the line number to set the columnview key. > > Fabien > Yes part of it. The class/module has the path of the class/module as key and are the root nodes. The line has the same name.class as key and line# and column pos i.e. code.class|line#|column#. I found this problem alsobut not repeatable. Between 'class' and 'pos' you can find the line#. I think it occurs if a module and class has the same. There is a bug, it shows the modules but the click does not work. I have already update but must upload it. The next thing already functional is the request to see in the event list witch events has already code. I hope the update will recover the small bug. Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: FFindAdv-0.5.tar.gz Type: application/x-tgz Size: 4349 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040324/c64fe8b5/attachment.bin> From wrichf at ...159... Thu Mar 25 05:31:08 2004 From: wrichf at ...159... (Rich Falconburg) Date: Wed, 24 Mar 2004 21:31:08 -0700 Subject: [Gambas-user] PNG in the web In-Reply-To: <200403240123.52296.sourceforge-raindog2@...94...> References: <6.0.0.22.2.20040324131956.01d12e30@...329...> <200403240123.52296.sourceforge-raindog2@...94...> Message-ID: <200403242131.08857.wrichf@...159...> > Microsoft must have a bugzilla set up, right? ;) > > Rob Now THAT's funny!! Nice stats. Good to see the tables turned for once. As for me, I haven't use SpyMe, er... IE (or windoze for that matter) in four years. -- Rich Falconburg wrichf at ...159... From listes.godard at ...11... Thu Mar 25 09:08:29 2004 From: listes.godard at ...11... (Laurent Godard) Date: Thu, 25 Mar 2004 09:08:29 +0100 Subject: [Gambas-user] Help on locale settings Message-ID: <4062937D.1060704@...11...> Hi all, as a totally newbie in Linux world i did some changes on locales without taking care (i needed to switch locale for testing purposes) Now, half of my apps shows en_US settings even if KDE language is set to french (eg thunderbird shows english date but Konqueror is ok) The most important is that gambas now speaks english More, i tried to launch Gmine - old version 0.5 : just a message saying "cannot switch to language en_US" but works - new version : same message but message #11 saying to report the error I'm sure it is not a Gambas problem but only me (and my settings) Could someone help me to restore all my configuration to fr-FR (root and all users) I'm really lost :( Thanks a lot Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From mauriiiii3001 at ...325... Wed Mar 24 22:11:05 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Wed, 24 Mar 2004 22:11:05 +0100 Subject: [Gambas-user] Gmine 0.9 Message-ID: <4061F969.8070000@...325...> I've updated Gmine (my little minesweeper) and now you can choose the number of cells (thanks to Laurent Godard) You find it at: http://gambas.magic-systems.net/gbcode/gbfamily_6.tar.gz?PHPSESSID=6357aed940bdaea73f055c66fe2d5077 From listes.godard at ...11... Thu Mar 25 14:05:03 2004 From: listes.godard at ...11... (Laurent Godard) Date: Thu, 25 Mar 2004 14:05:03 +0100 Subject: [Gambas-user] Gmine 0.9 In-Reply-To: <40609824.30509@...325...> References: <E1B5GpX-0002rj-1v@...39...> <40609824.30509@...325...> Message-ID: <4062D8FF.4090908@...11...> Hi Pozzo, i tried the program you sent me it crashes with error #11 in your initialiation loop of Harry array SUB reset() FOR i=0 TO 998 FOR j = 0 TO 998 Harry[i,j] = false NEXT NEXT instead og globally initialise yout array, why not initializing it only according to width and heigh cells number ? don't know if my crashes is to do that though .... if i comment the loop, all is ok Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From listes.godard at ...11... Thu Mar 25 14:17:05 2004 From: listes.godard at ...11... (Laurent Godard) Date: Thu, 25 Mar 2004 14:17:05 +0100 Subject: [Gambas-user] Help on locale settings In-Reply-To: <4062937D.1060704@...11...> References: <4062937D.1060704@...11...> Message-ID: <4062DBD1.10904@...11...> Hi all sorry for disturbing you i think all is ok now the problem semt to be in /home/laurent/.i18n file sorry for the noise Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From ronstk at ...239... Thu Mar 25 18:17:39 2004 From: ronstk at ...239... (ron) Date: Thu, 25 Mar 2004 18:17:39 +0100 Subject: [Gambas-user] Help on locale settings In-Reply-To: <4062DBD1.10904@...11...> References: <4062937D.1060704@...11...> <4062DBD1.10904@...11...> Message-ID: <200403251817.40471.ronstk@...239...> On Thursday 25 March 2004 14:17, Laurent Godard wrote: > Hi all > > sorry for disturbing you > > i think all is ok now > the problem semt to be in /home/laurent/.i18n file > > sorry for the noise > > Laurent Noise is not a problem :) Can you tell more what the problem is in /home/laurent/.i18n file and what you did to solve the problem. Not every one has that file but have the same problem(s). Regarding a message from official of KDE in Bugzilla "The Language is a once for allways install" Ron From listes.godard at ...11... Thu Mar 25 18:34:12 2004 From: listes.godard at ...11... (Laurent Godard) Date: Thu, 25 Mar 2004 18:34:12 +0100 Subject: [Gambas-user] Help on locale settings In-Reply-To: <200403251817.40471.ronstk@...239...> References: <4062937D.1060704@...11...> <4062DBD1.10904@...11...> <200403251817.40471.ronstk@...239...> Message-ID: <40631814.2090303@...11...> Hi ron, > Noise is not a problem :) so let do some noise :) > > Can you tell more what the problem is in /home/laurent/.i18n file > and what you did to solve the problem. .i18n is a hidden file Before (wit problem) LC_MEASUREMENT=fr_FR LC_PAPER=fr_FR LANGUAGE=en_US:en LC_MESSAGES=en_US LC_IDENTIFICATION=fr_FR LC_TIME=en_US LC_NUMERIC=fr_FR LC_CTYPE=en_US LANG=en_US LC_COLLATE=en_US LC_NAME=fr_FR LC_TELEPHONE=fr_FR LC_ADDRESS=fr_FR LC_MONETARY=fr_FR after LC_MEASUREMENT=fr_FR LC_PAPER=fr_FR LANGUAGE=fr_FR:fr LC_MESSAGES=fr_FR LC_IDENTIFICATION=fr_FR LC_TIME=fr_FR LC_NUMERIC=fr_FR LC_CTYPE=fr_FR LANG=fr_FR LC_COLLATE=fr_FR LC_NAME=fr_FR LC_TELEPHONE=fr_FR LC_ADDRESS=fr_FR LC_MONETARY=fr_FR HTH Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From ronstk at ...239... Thu Mar 25 20:16:15 2004 From: ronstk at ...239... (ron) Date: Thu, 25 Mar 2004 20:16:15 +0100 Subject: [Gambas-user] Langage module in gambas IDE In-Reply-To: <200403221742.08578.gambas@...1...> References: <200403171247.56936.ronstk@...239...> <200403221742.08578.gambas@...1...> Message-ID: <200403252016.15744.ronstk@...239...> On Monday 22 March 2004 17:42, Benoit Minisini wrote: > On Wednesday 17 March 2004 12:47, ron wrote: > > Hi Benoit, > > > > I had a look in the gambas IDE code the Language module. > > > > For me there is a strange thing with the 'en' group. > > As I'm understanding it right then the declarations are as follows > > i18n have 'en' = USA and 'en_GB' = United Kingdom > > You have 'en' = United Kingdom and 'en_US'=USA > > > > SuSE is using both as I found in some suseconfig files. > > 'en_US' in SuSE 8.2 KDE 3.1.1 and 'en_GB' in update KDE 3.1.4 > > May be that is the reason the Help was broken by many users > > after this upgrade. > > Bug number 61065 > > ------- Additional Comment #3 From Stephan Binner 2003-07-11 00:27 > > ------- I don't know if anybody cares if only SuSE's documentation is > > affected. :-) > > > > Some other programs are installing for several languages where the > > developer is nice to provide them and use 'en_GB' or as 'en_US', > > dependant on there distribution? > > > > Some help was only in 'en', as default for KDE packages, > > other only if 'en_GB' or 'en_US' was chosen. > > > > I suggest to use > > Name["en"] = ("English (common)") > > Name["en_GB"] = ("English (United Kingdom)") > > Name["en_US"] = ("English (U.S.A.)") > > Name["en_AU"] = ("English (Australia)") > > Name["en_CA"] = ("English (Canada)") > > > > Witch sound more correct to me, the logic between the braches the > > specific for country. Idea? > > > > Ron > > I follow you. You will tell me in the next version if the problem is > solved. > > Regards, I did some more research on this subject. There seams to be more ways to interpret this 'xx_YY' stuff. ============== The first way is: ---------------------- The 'language' spoken in 'COUNTRY' Example: 'fr_BE', en_BE'. 'nl_BE' and 'de_BE' as output from the locale program. I understand here the French 'fr' people do not speek Belgium 'BE' language but 'french' is spoken by 'BELGIAN'. The language module in gambas has the same meaning I belive. i18n method is the same with the packs as i18n_fr or i18n_de This way is used in the paths for KDE HelpCenter also. There is however a mistake in Helpcenter to use the COUNTRY for the help pages and LANG for the GUI. Confirmed in KDE's Bugzilla list. In KDE Region/Languages the add list is empty and I can add only 'English (US) but it is not done', Country is set to Netherlands NL) In KDE System/Admin Date & Time Current Zone 'Europe/Amsterdam' In Yast Choosen language say 'English (US)' and for time zone 'Europe/Amsterdam' ATM my COUNTRY is NL and LANGUAGE is ENGLISH spoken in (US). the locale program say's RC_LANG=en_GB and LC_CTYPE=en_GB ???? HelpCenter say's sometimes file xxx in '/opt/kde/share/doc/HTML/en_US/' not found. Sometimes for /en_GB too. There is a symlink for /en_US and /en_GB to /en and here the file itself and not the directory must be the reason. All docs are in the /en directory. For Gambas in the IDE the language is from System.Language. When I put it on startup in a textbox it say 'en_US'. When I start the Translation addin the Language shows me initial Dutch 'NL' so I asume here you use the COUNTRY part of, and thats the problem, what? The class uses the System.Language or .Profile, both say 'en_US' in the FTranlation: sLang = Project.Config.ReadString("/Language", System.Language) iIndex = cmbLang.Find(Language.ToName(sLang)) IF iIndex < 0 THEN iIndex = cmbLang.Find(Language.ToName("fr")) cmbLang.Index = cmbLang.Find(Language.ToName(sLang)) Found in the .project file Language=en_US, Localize=1 For Gambas my System Language is 'en_US' Before the snip I read the System.Language direct and it say's 'en_US' The Project.Config.Read line returns 'nl' This tested with a new fresh project. Where is 'nl' comming from ??? =================== The second is: -------------------- The 'language' and 'COUNTRY' !! Yes I write AND !!! This is SuSE's setting with Yast on install anyway. Chose for Language English (USA) or English (British) and all the money, number and date settings change for the country. They change COUNTRY and not the language with it.!!!! There is no COUNTRY setting in Yast or it must be TimeZone. I tried to setup my SuSE system on Tenerife. :( The remaining is a whole story on his own but I can say NO SUSE on Tenerife or if the country, language and timezone, date and money does not fit on the spot you are using, working and installing forget the SuSE distro. Every distro's have there own way and this one -----8<----- I will try not discuss it anymore. ----->8----- =================== The third way ---------------- How any user will do it on his/here own way The front 'en' as COUNTRY and the last 'US' as language. There is somewhere a real definition of RC_LANG may be it is the first one but my feeling of LANG in RC_LANG is the first one as "language _spoken_in_ COUNTRY." For the rest: Where is 'nl' comming from ??? May be a System.Country can be nice to have. For a Dialer program i.e. Ron From ronstk at ...239... Thu Mar 25 21:18:19 2004 From: ronstk at ...239... (ron) Date: Thu, 25 Mar 2004 21:18:19 +0100 Subject: [Gambas-user] Help on locale settings In-Reply-To: <40631814.2090303@...11...> References: <4062937D.1060704@...11...> <200403251817.40471.ronstk@...239...> <40631814.2090303@...11...> Message-ID: <200403252118.19180.ronstk@...239...> On Thursday 25 March 2004 18:34, Laurent Godard wrote: > Hi ron, > > > Noise is not a problem :) > > so let do some noise :) > > > Can you tell more what the problem is in /home/laurent/.i18n file > > and what you did to solve the problem. > > .i18n is a hidden file > > Before (wit problem) > > LC_MEASUREMENT=fr_FR > LC_PAPER=fr_FR > LANGUAGE=en_US:en > LC_MESSAGES=en_US > LC_IDENTIFICATION=fr_FR > LC_TIME=en_US > LC_NUMERIC=fr_FR > LC_CTYPE=en_US > LANG=en_US > LC_COLLATE=en_US > LC_NAME=fr_FR > LC_TELEPHONE=fr_FR > LC_ADDRESS=fr_FR > LC_MONETARY=fr_FR > > after > > LC_MEASUREMENT=fr_FR > LC_PAPER=fr_FR > LANGUAGE=fr_FR:fr > LC_MESSAGES=fr_FR > LC_IDENTIFICATION=fr_FR > LC_TIME=fr_FR > LC_NUMERIC=fr_FR > LC_CTYPE=fr_FR > LANG=fr_FR > LC_COLLATE=fr_FR > LC_NAME=fr_FR > LC_TELEPHONE=fr_FR > LC_ADDRESS=fr_FR > LC_MONETARY=fr_FR > > HTH > > Laurent That's nice, I assume the list are from locale and not the content of the file. Anyway i see the difference My Locale returns LANG=POSIX LC_CTYPE=en_GB.ISO-8859-1 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= I missing the LANGUAGE, and in my case all are quoted. KDE say Language=English 'en_US' and Country='Netherlands 'NL' SuSE say Language is English (USA) equals to 'en_US '?? look LC_CTYPE ?? and nothing about Country. POSIX is from install time, I never change one of these settings in any of the config/setup/profile or what ever they are named by hand. Any way i don't play with them and have accepted as is because it's unclear what this variable mean and are used for. In my case there is also without quotes RC_LC_COLLATE=POSIX RC_LANG=en_GB.ISO-8859-1 GTK_RC_FILES and GTK2_RC_FILES with path lists to find other config settings. To be exact this is in a terminal under KDE When I use a Linux console with alt-ctrl-2 the en_GB.ISO are changed to en_US. Somewhere the startup Xserver/KDE combination change this settings. I can't find where at the moment. It's not in the ().profile files as far I found. Ron From gambas at ...1... Thu Mar 25 22:43:55 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 25 Mar 2004 22:43:55 +0100 Subject: [Gambas-user] Langage module in gambas IDE In-Reply-To: <200403252016.15744.ronstk@...239...> References: <200403171247.56936.ronstk@...239...> <200403221742.08578.gambas@...1...> <200403252016.15744.ronstk@...239...> Message-ID: <200403252243.55879.gambas@...1...> On Thursday 25 March 2004 20:16, ron wrote: > I did some more research on this subject. > There seams to be more ways to interpret this 'xx_YY' stuff. > ============== > The first way is: > ---------------------- > The 'language' spoken in 'COUNTRY' > Example: > 'fr_BE', en_BE'. 'nl_BE' and 'de_BE' as output from the locale program. > > I understand here the French 'fr' people do not speek Belgium 'BE' language > but 'french' is spoken by 'BELGIAN'. > The language module in gambas has the same meaning I belive. > i18n method is the same with the packs as i18n_fr or i18n_de > > This way is used in the paths for KDE HelpCenter also. > There is however a mistake in Helpcenter to use the COUNTRY for the > help pages and LANG for the GUI. Confirmed in KDE's Bugzilla list. > > In KDE Region/Languages the add list is empty and I can add only > 'English (US) but it is not done', Country is set to Netherlands NL) > In KDE System/Admin Date & Time Current Zone 'Europe/Amsterdam' > In Yast Choosen language say 'English (US)' and for time zone > 'Europe/Amsterdam' > > ATM my COUNTRY is NL and LANGUAGE is ENGLISH spoken in (US). > > the locale program say's RC_LANG=en_GB and LC_CTYPE=en_GB ???? > HelpCenter say's sometimes file xxx in '/opt/kde/share/doc/HTML/en_US/' not > found. Sometimes for /en_GB too. > There is a symlink for /en_US and /en_GB to /en and here the file itself > and not the directory must be the reason. All docs are in the /en > directory. > > For Gambas in the IDE the language is from System.Language. > When I put it on startup in a textbox it say 'en_US'. > > When I start the Translation addin the Language shows me initial Dutch 'NL' > so I asume here you use the COUNTRY part of, and thats the problem, what? > The class uses the System.Language or .Profile, both say 'en_US' > > in the FTranlation: > sLang = Project.Config.ReadString("/Language", System.Language) > iIndex = cmbLang.Find(Language.ToName(sLang)) > IF iIndex < 0 THEN iIndex = cmbLang.Find(Language.ToName("fr")) > cmbLang.Index = cmbLang.Find(Language.ToName(sLang)) > > Found in the .project file Language=en_US, Localize=1 > For Gambas my System Language is 'en_US' > > Before the snip I read the System.Language direct and it say's 'en_US' > The Project.Config.Read line returns 'nl' > This tested with a new fresh project. > Where is 'nl' comming from ??? System.Language returns the language_COUNTRY value stored in $LANG. The interpreter uses it to find a translation file that matches it exactly. If the translation file does not exist, it tries another with only the language part. Then, 'nl' is the dutch translation used when no other country-specific dutch translation exists. It is "common dutch". 'nl_NL' will means the dutch spoken in netherlands. This is purely a Gambas agreement. The COUNTRY part is just used to provide more specific translation. For example, 'fr' is french (french is french), but 'fr_CA' is the french spoken in Canada, which is very different from oiginal french ! > > =================== > The second is: > -------------------- > The 'language' and 'COUNTRY' !! Yes I write AND !!! > > This is SuSE's setting with Yast on install anyway. > Chose for Language English (USA) or English (British) and > all the money, number and date settings change for the country. > They change COUNTRY and not the language with it.!!!! > There is no COUNTRY setting in Yast or it must be TimeZone. > > I tried to setup my SuSE system on Tenerife. :( > The remaining is a whole story on his own but I can say NO SUSE on Tenerife > or if the country, language and timezone, date and money does not fit on > the spot you are using, working and installing forget the SuSE distro. > > Every distro's have there own way and this one > -----8<----- > I will try not discuss it anymore. > ----->8----- This is a problem with SuSE. I think they are wrong. Country and language must be distinct... > > =================== > The third way > ---------------- > How any user will do it on his/here own way > The front 'en' as COUNTRY and the last 'US' as language. > > > There is somewhere a real definition of RC_LANG may be it is the first one > but my feeling of LANG in RC_LANG is the first one as > "language _spoken_in_ COUNTRY." > > > For the rest: > Where is 'nl' comming from ??? > May be a System.Country can be nice to have. For a Dialer program i.e. > > Ron > Actually, System.Language returns the COUNTRY and the language, specific to this country, or just the language, and then assume that the COUNTRY is the same. I think I won't change anything until something standard arise between distributions - But I think the way of Mandrake (the same as Fedora) is the right way, and that SuSE may be the only distribution that proceeds this way. Something to check... What do Gentoo, Slackware, FreeBSD, ... user think about that ? How are the country and the language specified on their system ? -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Thu Mar 25 23:46:58 2004 From: ronstk at ...239... (ron) Date: Thu, 25 Mar 2004 23:46:58 +0100 Subject: [Gambas-user] Langage module in gambas IDE In-Reply-To: <200403252243.55879.gambas@...1...> References: <200403171247.56936.ronstk@...239...> <200403252016.15744.ronstk@...239...> <200403252243.55879.gambas@...1...> Message-ID: <200403252346.58822.ronstk@...239...> On Thursday 25 March 2004 22:43, Benoit Minisini wrote: > > ============== > > The first way is: > > ---------------------- > > The 'language' spoken in 'COUNTRY' > > Example: > > 'fr_BE', en_BE'. 'nl_BE' and 'de_BE' as output from the locale program. > > 8<-------- > > System.Language returns the language_COUNTRY value stored in $LANG. Only LANG=en_GB.ISO-8859-1 in terminal under KDE and LANG=POSIX in a normal terminal. > > The interpreter uses it to find a translation file that matches it exactly. > If the translation file does not exist, it tries another with only the > language part. > > Then, 'nl' is the dutch translation used when no other country-specific > dutch translation exists. It is "common dutch". 'nl_NL' will means the > dutch spoken in netherlands. This is purely a Gambas agreement. > > The COUNTRY part is just used to provide more specific translation. > > For example, 'fr' is french (french is french), but 'fr_CA' is the french > spoken in Canada, which is very different from oiginal french ! > From quazar at ...403... Fri Mar 26 04:23:57 2004 From: quazar at ...403... (BluPhoenyx) Date: Thu, 25 Mar 2004 21:23:57 -0600 Subject: [Gambas-user] Langage module in gambas IDE In-Reply-To: <200403252346.58822.ronstk@...239...> References: <200403171247.56936.ronstk@...239...> <200403252016.15744.ronstk@...239...> <200403252243.55879.gambas@...1...> <200403252346.58822.ronstk@...239...> Message-ID: <20040325212357.2cf0d99b@...404...> On Thu, 25 Mar 2004 23:46:58 +0100 ron <ronstk at ...239...> wrote: What you see in the standard kernels will be the distro's standard settings If any. If there are no standard settings then everything defaults to US English or POSIX based on my experience with various distributions. In SuSE 9.0 you can use YAST (need root password though) to pick the global settings. Select the 'system item then select 'Editor for /etc/sysconfig Files' then select the 'system' node then Language node which opens a branch of possibilities. Under RC_LANG use the drop list to select which you need. I'm not sure why this is designed this way. Perhaps because SuSE is designed more for corporate/business usage and only expects the System Admin to change these things. Note: If you feel uncomfortable changing system settings you should carefully read the YAST info to see which file is affected then make a backup copy in case something goes wrong. --- Cheers, Mike T. Linux user #169067 (G)aim ID: Linux Lunatyk From rizky at ...225... Fri Mar 26 05:59:57 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Fri, 26 Mar 2004 11:59:57 +0700 Subject: [Gambas-user] I can not open any form or any code Message-ID: <6.0.0.22.2.20040326115615.01cf8860@...329...> hi benoit, i've download the 0.91 compile it with out errors and run well.. but when i open a project, i try to show the form and i double click on some objects, i got errors, so i cannot have the code editor to write on. and after that gambas close... and also when i create a new project, make a startup form, and viola i have the same error and gambas close.. errors are attached... -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot4.png Type: image/png Size: 6006 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040326/eadaaa51/attachment.png> -------------- next part -------------- Regards, tahara! From listes.godard at ...11... Fri Mar 26 08:06:16 2004 From: listes.godard at ...11... (Laurent Godard) Date: Fri, 26 Mar 2004 08:06:16 +0100 Subject: [Gambas-user] Help on locale settings In-Reply-To: <200403252118.19180.ronstk@...239...> References: <4062937D.1060704@...11...> <200403251817.40471.ronstk@...239...> <40631814.2090303@...11...> <200403252118.19180.ronstk@...239...> Message-ID: <4063D668.3020405@...11...> Hi ron, > > That's nice, I assume the list are from locale and not the content of the > file. Anyway i see the difference > it is the content of the file /home/laurent/.i18n I found another file related to this in /etc/sysconfig/i18n containing the same list i guess in is a system level configuration but i'm not sure Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From listes.godard at ...11... Fri Mar 26 13:20:36 2004 From: listes.godard at ...11... (Laurent Godard) Date: Fri, 26 Mar 2004 13:20:36 +0100 Subject: [Gambas-user] Gmine 0.9 In-Reply-To: <4062D8FF.4090908@...11...> References: <E1B5GpX-0002rj-1v@...39...> <40609824.30509@...325...> <4062D8FF.4090908@...11...> Message-ID: <40642014.8050809@...11...> Hi pozzo, hes with error #11 in your initialiation loop of Harry array > > SUB reset() > > FOR i=0 TO 998 > FOR j = 0 TO 998 > Harry[i,j] = false > NEXT > NEXT > this works FOR i=0 TO nbX FOR j=0 TO nby Harry[i,j] = false NEXT NEXT Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From ronstk at ...239... Fri Mar 26 16:11:10 2004 From: ronstk at ...239... (ron) Date: Fri, 26 Mar 2004 16:11:10 +0100 Subject: [Gambas-user] I can not open any form or any code In-Reply-To: <6.0.0.22.2.20040326115615.01cf8860@...329...> References: <6.0.0.22.2.20040326115615.01cf8860@...329...> Message-ID: <200403261611.11673.ronstk@...239...> On Friday 26 March 2004 05:59, Rizky Tahara Shita wrote: > hi benoit, > > i've download the 0.91 compile it with out errors and run well.. > but when i open a project, i try to show the form and i double click on > some objects, i got errors, so i cannot have the code editor to write on. > and after that gambas close... > > and also when i create a new project, make a startup form, and viola i have > the same error and gambas close.. > > errors are attached... Hi, I already reported this. It is fixed for the next version. You can fix it in the FEditor.form file in the source of the install and redo the the install. I made a copy of the gambas source directory to the examples directory and open it as existing project. Correct the minor bugs and use 'Make Executable'. Then you can use the new created to go on. Only when all is correct you can put it on the normal place. The line must be edtEditor.Move(02, 0, ME.ClientW-4, ME.ClientH) Ron From ronstk at ...239... Fri Mar 26 17:42:18 2004 From: ronstk at ...239... (ron) Date: Fri, 26 Mar 2004 17:42:18 +0100 Subject: [Gambas-user] Help on locale settings In-Reply-To: <4063D668.3020405@...11...> References: <4062937D.1060704@...11...> <200403252118.19180.ronstk@...239...> <4063D668.3020405@...11...> Message-ID: <200403261742.19108.ronstk@...239...> On Friday 26 March 2004 08:06, Laurent Godard wrote: > Hi ron, > > > That's nice, I assume the list are from locale and not the content of the > > file. Anyway i see the difference > > it is the content of the file /home/laurent/.i18n > > I found another file related to this in > /etc/sysconfig/i18n > containing the same list > > i guess in is a system level configuration but i'm not sure > > Laurent I do not have this one to. The reason can be that I use the bare standard English version and have no usage of the i18n for Dutch as you have for France. This way I should not have problems with language setting any way. Gambas System.Language from desktop 'en_US' I made a simple gambas program of 1 module with 1 line PRINT "Your System.Language=" & System.Language Runs this in console #2 And guess? Your System.Language=en_US Going to a root console #2, use locale and get 'en_US' Going to a root console #1, use locale and get 'en_GB.ISO-8859-1' running the gambas program in console #1 And guess? Your System.Language=en_US locale in a console terminal (xterm) 'POSIX' or 'en_GB.ISO-8859-1' lines. In xterm the same. IT MUST BE A BUG OF KDE!!! As I just found in the console #1 where KDE is started from (the boot console) 'en_GB.ISO-8859-1' and going to console 2 and get 'en_US' System updates with KDE as Language are not system wide?. If for any reason the settings should not system wide then it should be the opposite. It should be changed in console #1 and not console #2 KDE passes his cold boot environment for LC in a terminal and not the environment as controlled/updated by the user (root) from/in KDE Result: locale in a terminal from KDE returns different then on a root console Be carefull for other variables that are not as intentional should be. --------------------------------------------------------------------------------------------- For me it works but I like it does for other to. Special newbies have difficulties to find 'what' and 'where' as I had in the past (and still now sometimes) Ron From ronstk at ...239... Fri Mar 26 18:10:06 2004 From: ronstk at ...239... (ron) Date: Fri, 26 Mar 2004 18:10:06 +0100 Subject: [Gambas-user] Langage module in gambas IDE In-Reply-To: <20040325212357.2cf0d99b@...404...> References: <200403171247.56936.ronstk@...239...> <200403252346.58822.ronstk@...239...> <20040325212357.2cf0d99b@...404...> Message-ID: <200403261810.06522.ronstk@...239...> On Friday 26 March 2004 04:23, BluPhoenyx wrote: > On Thu, 25 Mar 2004 23:46:58 +0100 > ron <ronstk at ...239...> wrote: > > What you see in the standard kernels will be the distro's standard > settings If any. If there are no standard settings then everything > defaults to US English or POSIX based on my experience with various > distributions. > That is what I also assumed and now. > In SuSE 9.0 you can use YAST (need root password though) to pick the > global settings. Select the 'system item then select 'Editor for > /etc/sysconfig Files' then select the 'system' node then Language node > which opens a branch of possibilities. Under RC_LANG use the drop list > to select which you need. > Did check it for curiosity and this is 'en_US' as wished and expected. > I'm not sure why this is designed this way. Perhaps because SuSE is > designed more for corporate/business usage and only expects the System > Admin to change these things. Normal it should be a onetime setting and don't need to be easy to do. But if , then this way is a hell to find. > > Note: If you feel uncomfortable changing system settings you should > carefully read the YAST info to see which file is affected then make a > backup copy in case something goes wrong. :) > > --- > Cheers, > Mike T. > For gambas the translation module gives me 'nl' as default lang to translate to what nowhere is set. It is not a real problem but the way to find this as 'nl' can be wrong and the reason I started this to inform Benoit and he has already done something. Have to wait for next release. The other case, for you reaction here, is I get in a terminal with locale from the desktop 'en_GB' and all settings say i have 'en_US'. Please read on in my message '[Gambas-user] Help on locale settings' A double tread about the same subject is a bit stupid, I think. Ron From ronstk at ...239... Fri Mar 26 19:16:52 2004 From: ronstk at ...239... (ron) Date: Fri, 26 Mar 2004 19:16:52 +0100 Subject: [Gambas-user] Langage module in gambas IDE In-Reply-To: <200403252243.55879.gambas@...1...> References: <200403171247.56936.ronstk@...239...> <200403252016.15744.ronstk@...239...> <200403252243.55879.gambas@...1...> Message-ID: <200403261916.53160.ronstk@...239...> Hallo Benoit, Gambas say this with System.Language also 'en_US'. sLang = Project.Config.ReadString("/Language", System.Language) When I am right you read the config file for the existence of the Language key. This one exist and say 'en_US' If the entry Language not is found then use 'System.Language' as default this returns 'en_US' Why is the project.config line then changing it to 'nl'? That is still the strange thing for me. Delete of the Language line and .lang and .gambas directory does not change this In my view the language the system is running is 'en' and I do use only English as language on all of my computers. It is not what is selected from the lookup table if there is no match. This occurs before the lookup and 'en_US' exist so there is a match. Maybe the several POSIX settings in the LC variables are the bad ones here ? with locale i get LANG=POSIX LC_CTYPE=en_XX LANGUAGE does not exist 'nl' as country is correct but not for Language. However you can say if I make a program I want to translate something it will be the language spoken in country I live witch is indeed 'nl' Ron From ronstk at ...239... Fri Mar 26 19:35:35 2004 From: ronstk at ...239... (ron) Date: Fri, 26 Mar 2004 19:35:35 +0100 Subject: [Gambas-user] BUG: Project Properties Dialog Message-ID: <200403261935.35156.ronstk@...239...> When I select the project-> properties and go to the second tab Click show only used. See gb and gb.qt I do not need the gb.qt for a CLI program and click on the checkmark. Then I click again on Show only used and get a Error message. See snapshot. Greets Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: properties.png Type: image/png Size: 50033 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040326/6cf26aa3/attachment.png> From gambas at ...1... Fri Mar 26 19:46:11 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Mar 2004 19:46:11 +0100 Subject: [Gambas-user] Langage module in gambas IDE In-Reply-To: <200403261916.53160.ronstk@...239...> References: <200403171247.56936.ronstk@...239...> <200403252243.55879.gambas@...1...> <200403261916.53160.ronstk@...239...> Message-ID: <200403261946.12051.gambas@...1...> On Friday 26 March 2004 19:16, ron wrote: > Hallo Benoit, > > Gambas say this with System.Language also 'en_US'. > > sLang = Project.Config.ReadString("/Language", System.Language) This variable is only the last language used to translate the project. It is the content of the language combo-box in the translation dialog. -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Fri Mar 26 19:47:06 2004 From: ronstk at ...239... (ron) Date: Fri, 26 Mar 2004 19:47:06 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403242244.03778.abidoo.too@...11...> References: <200403240332.43654.ronstk@...239...> <200403240402.12577.ronstk@...239...> <200403242244.03778.abidoo.too@...11...> Message-ID: <200403261947.06566.ronstk@...239...> On Wednesday 24 March 2004 22:44, Fabien Bodard wrote: > hi ron > > I find a bug... > > 2 occur in the same line make a bug... > > I think you use the line number to set the columnview key. > > Fabien Fabian, Have you test it again? Strange I got the same error once in the 0.5 version. More strange it is not repeatable. It was on a line in a .class and .module that where the same. The keys used in the columnview, as I checked later, are different. The found line with the error was ok the second time. Repeating several times and it stays ok. I will review it again but have no clue where to look for yet. Ron From gambas at ...1... Fri Mar 26 19:51:47 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Mar 2004 19:51:47 +0100 Subject: [Gambas-user] BUG: Project Properties Dialog In-Reply-To: <200403261935.35156.ronstk@...239...> References: <200403261935.35156.ronstk@...239...> Message-ID: <200403261951.47179.gambas@...1...> On Friday 26 March 2004 19:35, ron wrote: > When I select the project-> properties and go to the second tab > Click show only used. > See gb and gb.qt > I do not need the gb.qt for a CLI program and click on the checkmark. > Then I click again on Show only used and get a Error message. > See snapshot. > > Greets Ron Thanks. I fixed it. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Mar 26 19:52:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Mar 2004 19:52:53 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403261947.06566.ronstk@...239...> References: <200403240332.43654.ronstk@...239...> <200403242244.03778.abidoo.too@...11...> <200403261947.06566.ronstk@...239...> Message-ID: <200403261952.53576.gambas@...1...> On Friday 26 March 2004 19:47, ron wrote: > On Wednesday 24 March 2004 22:44, Fabien Bodard wrote: > > hi ron > > > > I find a bug... > > > > 2 occur in the same line make a bug... > > > > I think you use the line number to set the columnview key. > > > > Fabien > > Fabian, > > Have you test it again? > Strange I got the same error once in the 0.5 version. > More strange it is not repeatable. > It was on a line in a .class and .module that where the same. > The keys used in the columnview, as I checked later, are different. > > The found line with the error was ok the second time. > Repeating several times and it stays ok. > > I will review it again but have no clue where to look for yet. > > Ron > > When you find your developmement ready and stable, send it directly to my private e-mail so that I include it in the IDE. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Fri Mar 26 20:46:50 2004 From: ronstk at ...239... (ron) Date: Fri, 26 Mar 2004 20:46:50 +0100 Subject: [Gambas-user] Langage module in gambas IDE In-Reply-To: <200403261946.12051.gambas@...1...> References: <200403171247.56936.ronstk@...239...> <200403261916.53160.ronstk@...239...> <200403261946.12051.gambas@...1...> Message-ID: <200403262046.50581.ronstk@...239...> On Friday 26 March 2004 19:46, Benoit Minisini wrote: > On Friday 26 March 2004 19:16, ron wrote: > > Hallo Benoit, > > > > Gambas say this with System.Language also 'en_US'. > > > > sLang = Project.Config.ReadString("/Language", System.Language) > > This variable is only the last language used to translate the project. It > is the content of the language combo-box in the translation dialog. Ok but it is never translated. The Language key is not set or is empty. the .lang does even not exist I just had set the checkbox and start the really first time. When I'm right it should then returning a empty string or the System.Language? Ron From gambas at ...1... Fri Mar 26 21:13:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Mar 2004 21:13:36 +0100 Subject: [Gambas-user] Langage module in gambas IDE In-Reply-To: <200403262046.50581.ronstk@...239...> References: <200403171247.56936.ronstk@...239...> <200403261946.12051.gambas@...1...> <200403262046.50581.ronstk@...239...> Message-ID: <200403262113.36139.gambas@...1...> On Friday 26 March 2004 20:46, ron wrote: > On Friday 26 March 2004 19:46, Benoit Minisini wrote: > > On Friday 26 March 2004 19:16, ron wrote: > > > Hallo Benoit, > > > > > > Gambas say this with System.Language also 'en_US'. > > > > > > sLang = Project.Config.ReadString("/Language", System.Language) > > > > This variable is only the last language used to translate the project. It > > is the content of the language combo-box in the translation dialog. > > Ok but it is never translated. > The Language key is not set or is empty. > the .lang does even not exist > I just had set the checkbox and start the really first time. > > When I'm right it should then returning a empty string or the > System.Language? > > Ron > No. The default value of this setting is "English (common)". It has nothing to do with System.Language. It is just the combo-box entry index that is displayed the first time you open the translation dialog. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Mar 26 21:16:32 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Mar 2004 21:16:32 +0100 Subject: [Gambas-user] STATIC doesn't work? In-Reply-To: <40596866.1000203@...221...> References: <405885BD.9040506@...221...> <200403171857.48255.gambas@...1...> <40596866.1000203@...221...> Message-ID: <200403262116.32087.gambas@...1...> On Thursday 18 March 2004 10:14, Eilert wrote: > Hi Benoit, > > >>STATIC x AS INTEGER > > > > At the moment, in Gambas, you can't define static local variables. You > > must use a class or module private variable instead. Actually, static > > local > > Rethinking the item and browsing through the original VB code, I find a > contradiction: is it sensible to have a variable declared as STATIC for > a module? When declared with DIM the variable will live and hold its > value for the whole time the program is running (i. e. the module/class > is loaded) anyway. Or is this "VB thinking"? :-) > > Rolf > I don't understand what your problem is :-) STATIC used inside a function is just like declaring a global STATIC variable, in Gambas or in VB, being in a module or in a class. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Mar 26 21:22:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Mar 2004 21:22:28 +0100 Subject: [Gambas-user] speaking about variables... In-Reply-To: <mnet2.1079595933.20239.danielcampos@...282...> References: <mnet2.1079595933.20239.danielcampos@...282...> Message-ID: <200403262122.28247.gambas@...1...> On Thursday 18 March 2004 12:45, danielcampos at ...282... wrote: > Hi: > > These days we're talking a lot about variable declarations, and there's a > thing in VB that I hate a lot. If you use a C,C++,C# or Pascal compiler, it > warns you about unused variables, which is quite useful to clean the code, > after changes, usually made with few time. In VB, you can define a > hundred variables, but nothing happens... May be the 'make exectuble' > option of the IDE, should report unused variables... > > Regards, > > Daniel Campos > Adding such a feature to the compiler will be interesting. But I think I will make it after the 1.0 :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Fri Mar 26 21:22:19 2004 From: ronstk at ...239... (ron) Date: Fri, 26 Mar 2004 21:22:19 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403261952.53576.gambas@...1...> References: <200403240332.43654.ronstk@...239...> <200403261947.06566.ronstk@...239...> <200403261952.53576.gambas@...1...> Message-ID: <200403262122.19163.ronstk@...239...> On Friday 26 March 2004 19:52, Benoit Minisini wrote: > On Friday 26 March 2004 19:47, ron wrote: > > On Wednesday 24 March 2004 22:44, Fabien Bodard wrote: > > > hi ron > > > > > > I find a bug... > > > > > > 2 occur in the same line make a bug... > > > > > > I think you use the line number to set the columnview key. > > > > > > Fabien > > > > Fabian, > > > > Have you test it again? > > Strange I got the same error once in the 0.5 version. > > More strange it is not repeatable. > > It was on a line in a .class and .module that where the same. > > The keys used in the columnview, as I checked later, are different. > > > > The found line with the error was ok the second time. > > Repeating several times and it stays ok. > > > > I will review it again but have no clue where to look for yet. > > > > Ron > > When you find your developmement ready and stable, send it directly to my > private e-mail so that I include it in the IDE. > > Regards, Thanks Benoit. It involves just the 2 filesin the tar. They are not changed after this release. I have marked the changes with two lines '*** add ron begin *** '*** add ron end *** to easy find the changes and add's in it. Just checked and 2 lines are '*** change ron Nice test to see how it works. I belive it is stable, still worried about the 1 error I had in using it the last 2 day's playing with it. The whole gambas is in unstable state because I'm working on next idea's I'm using now the editor with a budy editor in readonly mode as lookup for code in same class like a note. (stable but need a copy text function instead of dragging only) Also the RMB menu on a form in desing mode to show witch events already have code are marked with icon. (unstable for release but working) Object browser what is in the project working on. For lookup all Sub and Functions and parameters with detailed view. (very early stage, not usable yet) Wish: A reliable way to handover patches. diff's are possible but are related to the released gambas version and not the developer version you or other are working on. Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: FFindAdv-0.5.tar.gz Type: application/x-tgz Size: 4349 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040326/4da4e4be/attachment.bin> From abidoo.too at ...11... Fri Mar 26 21:29:52 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Fri, 26 Mar 2004 21:29:52 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403261952.53576.gambas@...1...> References: <200403240332.43654.ronstk@...239...> <200403261947.06566.ronstk@...239...> <200403261952.53576.gambas@...1...> Message-ID: <200403262129.52481.abidoo.too@...11...> i've corrected the ocur bugs.... now you can have to identical key... my correction is between <fabien> tags Fabien -------------- next part -------------- A non-text attachment was scrubbed... Name: FFind.class Type: application/x-java Size: 15203 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040326/e2546740/attachment.bin> From gambas at ...1... Fri Mar 26 21:33:22 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Mar 2004 21:33:22 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403262122.19163.ronstk@...239...> References: <200403240332.43654.ronstk@...239...> <200403261952.53576.gambas@...1...> <200403262122.19163.ronstk@...239...> Message-ID: <200403262133.22147.gambas@...1...> On Friday 26 March 2004 21:22, ron wrote: > Wish: > A reliable way to handover patches. > diff's are possible but are related to the released gambas version > and not the developer version you or other are working on. > > Ron Send diffs without forgetting the version, and I will deal with them. Anyway, I will look at your code carefully before inserting it ! Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Fri Mar 26 22:33:36 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 26 Mar 2004 22:33:36 +0100 Subject: [Gambas-user] undefin d symbol: _ZN7KPixmapD2Ev Message-ID: <200403262233.36845.Karl.Reinl@...9...> Salut, after an big update, I changed to ?gentoo 1.4 , qt-3.3.0 , gcc 3.3.2 , KDE 3.2.1 , mysql 4.0.18 ,psql ? 7.3.5,sqlite 2.8.11 I played with KDE -Styles, and I had a look how it changes in gambas. And I found that: gbx: relocation error: /usr/kde/3.2/lib/kde3/plugins/styles/kthemestyle.so: undefin d symbol: _ZN7KPixmapD2Ev - That was KDE -Styles RISC OS gbx: relocation error: /usr/kde/3.2/lib/kde3/plugins/styles/kthemestyle.so: undefined symbol: _ZN7KPixmapD2Ev - That was KDE -Styles System++ gbx: relocation error: /usr/kde/3.2/lib/kde3/plugins/styles/kthemestyle.so: undefined symbol: _ZN7KPixmapD2Ev - That was KDE -Styles Marble I don't remember very well, and I don't have the mails on that box, but there was something with the RH Distros. May be that helps you Benoit? On other KDE -Styles gambas starts. Amicalement Charlie From ronstk at ...239... Fri Mar 26 22:52:53 2004 From: ronstk at ...239... (ron) Date: Fri, 26 Mar 2004 22:52:53 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403262129.52481.abidoo.too@...11...> References: <200403240332.43654.ronstk@...239...> <200403261952.53576.gambas@...1...> <200403262129.52481.abidoo.too@...11...> Message-ID: <200403262252.53942.ronstk@...239...> On Friday 26 March 2004 21:29, Fabien Bodard wrote: > i've corrected the ocur bugs.... > > now you can have to identical key... > > my correction is between <fabien> tags > > Fabien First the mistake I had, WHILE iPos<> 0 ' iPos is base 1, iLine is base 0 ! sNode=hForm.path sLeaf = hForm.name & ".class|" & CStr(iLine) & "|" & CStr(iPos-1) sLeaf = sFile & "|" & CStr(iLine) & "|" & CStr(iPos-1) ................. ' find next in line iPos = SearchString(sLine,iPos + Len($sFind)) WEND In the first sLeaf it could not handle the .module files. In the list you could click on a .module line but did not work. I had to comment it or better remove it. The second is the good one. Your idea was already in the code. It prevents this also but I have comment it out. Reason I did got the error with it to. Remove of the remarks was already OK. It does the same, the count increment always so it is unique. But what me irritates is that it occurs any way. This doing looks to me as hidding a bug instead preventing of it. The current used construction for sLeaf should be unique. Search for the next position " AS Integer" can not be same position in the same line because after add to the list there is a search starting at a new position. It returns iPos=0 or a new iPos I can only suggest and do by setting iPos for the search as in ' find next in line iPos=iPos + Len($sFind) iPos = SearchString(sLine,iPos) WEND This way I'm almost sure it is and never can be the same. There is however something else I discovered later If you mark two lines for search or partial but with a new line in it it shows only the first in the combobox and the part after the newline is gone. The search use the combobox.text witch can have a newline in it. This must be verified. Maybe Benoit knows something about this. Last note: I did use IF $iSearch <>/= SEARCH_PROC THEN and it must be IF $iSearch <>/= SEARCH_PROJECT THEN The meaning was not all expanded if scan accros the project but I did use the wrong one. :( Thanks for the try Ron From ronstk at ...239... Fri Mar 26 23:05:35 2004 From: ronstk at ...239... (ron) Date: Fri, 26 Mar 2004 23:05:35 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403262133.22147.gambas@...1...> References: <200403240332.43654.ronstk@...239...> <200403262122.19163.ronstk@...239...> <200403262133.22147.gambas@...1...> Message-ID: <200403262305.35894.ronstk@...239...> On Friday 26 March 2004 21:33, Benoit Minisini wrote: > On Friday 26 March 2004 21:22, ron wrote: > > Wish: > > A reliable way to handover patches. > > diff's are possible but are related to the released gambas version > > and not the developer version you or other are working on. > > > > Ron > > Send diffs without forgetting the version, and I will deal with them. > > Anyway, I will look at your code carefully before inserting it ! > > Regards, Sure, no problem with that for the insertion. Pleas see my note to Fabien too. About the bug I mentioned and a wrong declaration used but not operational bug. His idea was already in it but I had the the problem a few times with it too so it did not look as the right solution to me. In the TestForm() I have forgotten to mark a line added by me. Ron From Karl.Reinl at ...9... Fri Mar 26 23:22:41 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 26 Mar 2004 23:22:41 +0100 Subject: [Gambas-user] gambas IDE start Message-ID: <200403262322.41452.Karl.Reinl@...9...> Salut, under my new ?gentoo 1.4 , qt-3.3.0 , gcc 3.3.2 , KDE 3.2.1 , mysql 4.0.18 ,psql ? 7.3.5,sqlite 2.8.11 I find the following, the Authors Line is not readable ( see Screenshot10) Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot10.png Type: image/png Size: 41848 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040326/83c02daf/attachment.png> From Karl.Reinl at ...9... Fri Mar 26 23:28:47 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 26 Mar 2004 23:28:47 +0100 Subject: [Gambas-user] gb.qt.kde DON'T makes the difference ANYMORE Message-ID: <200403262328.47561.Karl.Reinl@...9...> Salut, while using qt-3.3.0 , gcc 3.3.2 , KDE 3.2.1 now, my mail who said : Today I found out, that only the fact to add the component gb.qt.kde to the project, makes the difference between snapshot8 and snapshot9. see mail from 2 day ago Subject was : gb.qt.kde makes the difference That was right with qt-3.2.1 , gcc 3.2.3 , KDE 3.1.4 Amicalement Charlie From Karl.Reinl at ...9... Fri Mar 26 23:39:22 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 26 Mar 2004 23:39:22 +0100 Subject: [Gambas-user] Older News Message-ID: <200403262339.22363.Karl.Reinl@...9...> Salut, every time I see that 'Older News' (what is correct) I find that funny. Was at 'gambas shrine' and saw it again. Take them word by word : OLDER and NEWS = 'Older News' ??? only one word NICE !!!!! Amicalement Charlie From ronstk at ...239... Sat Mar 27 00:00:05 2004 From: ronstk at ...239... (ron) Date: Sat, 27 Mar 2004 00:00:05 +0100 Subject: [Gambas-user] What does Ron has in Gambas? Message-ID: <200403270000.05678.ronstk@...239...> On the top left. The events show witch have code attached to it. This can prevent unneeded creation of service routines. On the bottom. The modified Find & Replace form. You must check in this version the 'Find List' to get the list in the lower half otherwise it is the same as standard in gambas available. It can show all modules and class files having the search item. On the top right. My Editor patch. It has in the lower half a copy of the upper part. It is however in readonly mode. I use it to look i.e. at the declaration part in the start of the class Browsing to a subroutine somewhere in the same code for information. You can the editor let at the place you are editing and use the buddy for search trough the text. (i need to correct the name, it is wrong spelled in the code :( ) I had to take a screen shot and cut a part of it else I could not snap the topleft event in the picture. Happy gambas Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: screen2.png Type: image/png Size: 165602 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040327/e98888f7/attachment.png> From ronstk at ...239... Sat Mar 27 01:32:53 2004 From: ronstk at ...239... (ron) Date: Sat, 27 Mar 2004 01:32:53 +0100 Subject: [Gambas-user] Contrib: I just add some old code from v 0.71 Message-ID: <200403270132.53059.ronstk@...239...> Hi all, I just add some code I made in version 0.71 This add 2 comboboxes to the editor. On the left are the keywords like Form, btnXXXX on the right side the events if they have code It is really amazing if you have a working scroll mouse. It steps as the TGV trough the code :) Change on the left side updates of course the right side. Select on the right side "where you want to go today" or double click if you are happy with it. I was also free at that time to add some Upper/Lower case functions to the right mouse menu. Special the one to give the selected words with first letter in Ucase and rest in Lcase. The code used can updated to the latest development Benoit has done and make usage of some classes he made. At the time I wrote it the completion was not available and I had to do myself a routine to get it this way. I'm happy to have this functionality I made in 0.71 back. Yes I know Benoit, It looks as VB, but it was one of the few handy things it had. BTW. The code is just "As Is" inserted. I had no change to make and compiled out of the box. For release I just have to review it so it is idiot proof in the current version of gambas. I'm also more advanced as in the old day's :) Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: editor1.png Type: image/png Size: 38226 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040327/788f3b7b/attachment.png> From rizky at ...225... Sat Mar 27 03:51:24 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Sat, 27 Mar 2004 09:51:24 +0700 Subject: [Gambas-user] speaking about variables... In-Reply-To: <200403262122.28247.gambas@...1...> References: <mnet2.1079595933.20239.danielcampos@...282...> <200403262122.28247.gambas@...1...> Message-ID: <6.0.0.22.2.20040327094844.01d0c588@...329...> At 03:22 27/03/2004, you wrote: >On Thursday 18 March 2004 12:45, danielcampos at ...282... wrote: > > Hi: > > > > These days we're talking a lot about variable declarations, and there's a > > thing in VB that I hate a lot. If you use a C,C++,C# or Pascal compiler, it > > warns you about unused variables, which is quite useful to clean the code, > > after changes, usually made with few time. In VB, you can define a > > hundred variables, but nothing happens... May be the 'make exectuble' > > option of the IDE, should report unused variables... > > > > Regards, > > > > Daniel Campos > > > >Adding such a feature to the compiler will be interesting. But I think I will >make it after the 1.0 :-) > >Regards, sorry, may be this out of the content, but still about variable.. in PHP there is "variable variables".. (see php manual about that description) will gambas has it too? since vb doesn't have it... Regards, tahara! From ronstk at ...239... Sat Mar 27 03:47:56 2004 From: ronstk at ...239... (ron) Date: Sat, 27 Mar 2004 03:47:56 +0100 Subject: [Gambas-user] BUG: Completion after END IF/WITH In-Reply-To: <200403221745.58897.gambas@...1...> References: <200403221358.20225.ronstk@...239...> <200403221745.58897.gambas@...1...> Message-ID: <200403270347.56730.ronstk@...239...> On Monday 22 March 2004 17:45, Benoit Minisini wrote: > On Monday 22 March 2004 13:58, ron wrote: > > dim tb as TextBox > > > > WITH textarrea > > .txt="text" > > .tag="mytag" > > END WITH > > > > tb.???? > > > > Here the completion does not work on 'tb' variable > > the space in 'END WITH' must removed however to > > be able to run it must be inserted. > > > > Same problem occurs with the 'END IF' > > Here is no problem if the space exists or not. > > IF x=y then > > 'bla bla > > END IF > > > > The 'END IF' is accepted with and without a space but without the > > completion does not work below of it > > The 'END WITH' is only accepted with space and completion does not work > > below id space is in it > > > > Marking 'END IF' and 'END WITH' as error ? > > > > Ron > > OK. I fixed the bug... I just found the same problem in a select case After the END SELECT the completion does also not work Can be fixed already by this fix but you never know. :) Ron From ronstk at ...239... Sat Mar 27 04:04:13 2004 From: ronstk at ...239... (ron) Date: Sat, 27 Mar 2004 04:04:13 +0100 Subject: [Gambas-user] BUG: Select when CASE DEFAULT Message-ID: <200403270404.13266.ronstk@...239...> I have code as SELECT CASE w CASE 1 ... CASE 2 ... CASE DEFAULT <--- :( ... END SELECT The DEFAULT gives a error but is in the help it is valid ELSE works ok. I tested the code as in the help and changed the last case to verify the error was not my project related. Ron From ronstk at ...239... Sat Mar 27 04:28:33 2004 From: ronstk at ...239... (ron) Date: Sat, 27 Mar 2004 04:28:33 +0100 Subject: [Gambas-user] REQ: Combo/List-box case insensitive sort Message-ID: <200403270428.33830.ronstk@...239...> I hope it is possible. It prevents to first put it in a string array sorting and then transfer to the combobox. Also memory allocation by the array is then gone. I have only 256Mbyte :) My mind is still by my TRS80 with 48kByte at 1.7 Mc Sneaky it is a clone of it with 512Kbyte and 2MB ramdisk Floppy was standard 360kb, o what a space I had. My floppy was at that time 1440 at 5 1/4 inch Wham, the hole operating in ramdisk. Top speed. Working with 5Mc clock. LOL :) For the listbox the same request. As I asume they are internal the same that can be easy. Or is it a QT widget problem? Many nice greetings, Ron From ronstk at ...239... Sat Mar 27 04:44:13 2004 From: ronstk at ...239... (ron) Date: Sat, 27 Mar 2004 04:44:13 +0100 Subject: [Gambas-user] BUG: Ident with shift tab can freze the editor Message-ID: <200403270444.13293.ronstk@...239...> I have code that has 3 spaces in front here as = shown ===code1 ===code2 =='=code3 with remark When i use shift-tab the whole text goes left 2 spaces in the past you could continue till all leading spaces where gone. Now it works till the remark quote is in the first column. The code1 and code2 line have still 1 space. When I going on with shift-tab nothing happens anymore but the editor is frozen in the text area. Do not type any letter before you at this moment used the save button in the editor or the random letters you type are saved on closing gambas. Witch is the only way to continue. As a save guard I wish a button that reset the modified condition and reloads the last saved version. Ron From ronstk at ...239... Sat Mar 27 10:34:52 2004 From: ronstk at ...239... (ron) Date: Sat, 27 Mar 2004 10:34:52 +0100 Subject: [Gambas-user] PRB: Compile does not find wrong type Message-ID: <200403271034.52646.ronstk@...239...> Hallo, Oh Oh again nasty ron. In the subroutine I have a DIM xxx AS String[] then I call in this subroutine an other sub routine SUB AAA() DIM xxx AS String[] 'code to fill xxx ShowMe(xxx) END SUB ShowMe(xxx AS Collection) 'do the show END As you can see in the second I declare it by mistake as Collection. Both compile buttons on main form pass Make executable pass also At running I got the 'Got String expected Collection' message. I had this several times before so I decide to report it, just in case. We want v1.0 as good as possible? BTW the tooltip of both buttons say 'Compile All' I thought it was this module and all modules. I feel lucky with gambas :) Ron From gambas at ...1... Sat Mar 27 11:03:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Mar 2004 11:03:25 +0100 Subject: [Gambas-user] BUG: Select when CASE DEFAULT In-Reply-To: <200403270404.13266.ronstk@...239...> References: <200403270404.13266.ronstk@...239...> Message-ID: <200403271103.25577.gambas@...1...> On Saturday 27 March 2004 04:04, ron wrote: > I have code as > SELECT CASE w > CASE 1 > ... > CASE 2 > ... > CASE DEFAULT <--- :( > ... > END SELECT > > The DEFAULT gives a error but is in the help it is valid > ELSE works ok. > > I tested the code as in the help and changed the last case to > verify the error was not my project related. > > Ron > The syntax is "CASE ELSE" or "DEFAULT". Not "CASE DEFAULT"! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Mar 27 11:05:49 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Mar 2004 11:05:49 +0100 Subject: [Gambas-user] PRB: Compile does not find wrong type In-Reply-To: <200403271034.52646.ronstk@...239...> References: <200403271034.52646.ronstk@...239...> Message-ID: <200403271105.49476.gambas@...1...> On Saturday 27 March 2004 10:34, ron wrote: > Hallo, > > Oh Oh again nasty ron. > > In the subroutine I have a DIM xxx AS String[] > then I call in this subroutine an other sub routine > > SUB AAA() > DIM xxx AS String[] > 'code to fill xxx > ShowMe(xxx) > END > > SUB ShowMe(xxx AS Collection) > 'do the show > END > > As you can see in the second I declare it by mistake as Collection. > Both compile buttons on main form pass > Make executable pass also > At running I got the 'Got String expected Collection' message. > I had this several times before so I decide to report it, just in case. > We want v1.0 as good as possible? > > BTW the tooltip of both buttons say 'Compile All' > I thought it was this module and all modules. > > I feel lucky with gambas :) > > Ron > This is not a bug, this is the way Gambas works :-) The compiler don't check any datatype. All the work is done by the interpreter. Regards, -- Benoit Minisini mailto:gambas at ...1... From christian.sahastume at ...11... Sat Mar 27 15:13:51 2004 From: christian.sahastume at ...11... (Sahastume Christian) Date: Sat, 27 Mar 2004 15:13:51 +0100 Subject: [Gambas-user] Help about writing component Message-ID: <200403271513.51176.christian.sahastume@...11...> Hello, I nead some help about component writing. I have just begun the writing of a new component allowing the access to the CD-Audio via the SDL library. The methods and interface properties are as follows: Cdrom.Open (STRING device) Cdrom.Close() Cdrom.Eject() Cdrom.PlayAllTracks() Cdrom.Pause() Cdrom.Resume() Cdrom.Stop() Cdrom.Status() --> return "No disc, Playing, Paused, Stopped, Error) Cdrom.Devices.Count() --> number of cdrom drives on your system Cdrom.Tracks.Count() --> number of tracks present on the CD Cdrom.Track.Play(INTEGER track, Optional INTEGER duration) Cdrom.Track.PlayFirst() --> play first track Cdrom.Track.PlayLastrack() --> play last track Cdrom.Track.Previous() --> play previous track CdromTrack.Next() -->play next track Cdrom.Track.Rewind(Optional INTEGER Step) --> (1 step = 1 seconde) Cdrom.Track.Forward(Optiona INTEGER Step) Cdrom.Track.CurrentPos --> position of the current track I made a success of compilation of the component and i see all methods and properties in Gambas. But my component don't work.... I'have tried this code: PUBLIC MyCD as Cdrom PUBLIC SUB Main() DIM i as INTEGER i = MyCD.Devices.Count() PRINT i END A messagebox said me: "Program return value: 1" The console say: "ERROR: #24: No starting Method" I'm not an informatician (and even less programmer), then excuse if my questions are stupids and my code so bad.... I join to my mesage the component for analysis and a little assistance.... thank you in advance Regards. Christian. -------------- next part -------------- A non-text attachment was scrubbed... Name: cdrom.tar.bz2 Type: application/x-tbz Size: 3241 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040327/276b8c3c/attachment.bin> From gambas at ...1... Sat Mar 27 17:40:15 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Mar 2004 17:40:15 +0100 Subject: [Gambas-user] Nice dangerous Feature In-Reply-To: <200403201705.37889.Karl.Reinl@...9...> References: <200403201705.37889.Karl.Reinl@...9...> Message-ID: <200403271740.15063.gambas@...1...> On Saturday 20 March 2004 17:05, Charlie Reinl wrote: > Salut Benoit, > > while tracking Bugs today I found this: > > It is a Nice dangerous Feature to start gambas several times, and open the > same project several times. > > In snapshot5 I have (left Window) delete Class1 and saved > then wrote something wrong into PUBLIC SUB btnFind_Click() (right Window) > and clicked save and Run (snapshot6) > > In snapshot7 left Window delete Class1 and saved and tried to open it in > right window (ending with a crash) > > Can you imagine what happens if gambas is open on several Desktops, you see > Errors raising and don't understand what hes talking about. > > Amicalement > Charlie I will add a message warning the user that he is going to open the same project twice, and that this is dangerous. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Mar 27 18:15:11 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Mar 2004 18:15:11 +0100 Subject: [Gambas-user] BUG: Ident with shift tab can freze the editor In-Reply-To: <200403270444.13293.ronstk@...239...> References: <200403270444.13293.ronstk@...239...> Message-ID: <200403271815.11701.gambas@...1...> On Saturday 27 March 2004 04:44, ron wrote: > I have code that has 3 spaces in front > here as = shown > ===code1 > ===code2 > =='=code3 with remark > > When i use shift-tab the whole text goes left 2 spaces > in the past you could continue till all leading spaces where gone. > Now it works till the remark quote is in the first column. > The code1 and code2 line have still 1 space. > When I going on with shift-tab nothing happens anymore > but the editor is frozen in the text area. > > Do not type any letter before you at this moment used the save button in > the editor or the random letters you type are saved on closing gambas. > Witch is the only way to continue. I fixed this bug! > > As a save guard I wish a button that reset the modified condition > and reloads the last saved version. I will see if I can do it. > > Ron > -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sat Mar 27 18:35:54 2004 From: ronstk at ...239... (ron) Date: Sat, 27 Mar 2004 18:35:54 +0100 Subject: [Gambas-user] BUG: Ident with shift tab can freze the editor In-Reply-To: <200403271815.11701.gambas@...1...> References: <200403270444.13293.ronstk@...239...> <200403271815.11701.gambas@...1...> Message-ID: <200403271835.54104.ronstk@...239...> On Saturday 27 March 2004 18:15, Benoit Minisini wrote: > > the editor or the random letters you type are saved on closing gambas. > > Witch is the only way to continue. > > I fixed this bug! > > > As a save guard I wish a button that reset the modified condition > > and reloads the last saved version. > > I will see if I can do it. Thank you very mutch Ron From ronstk at ...239... Sat Mar 27 20:50:15 2004 From: ronstk at ...239... (ron) Date: Sat, 27 Mar 2004 20:50:15 +0100 Subject: [Gambas-user] BUG: Select when CASE DEFAULT In-Reply-To: <200403271103.25577.gambas@...1...> References: <200403270404.13266.ronstk@...239...> <200403271103.25577.gambas@...1...> Message-ID: <200403272050.15520.ronstk@...239...> On Saturday 27 March 2004 11:03, Benoit Minisini wrote: > On Saturday 27 March 2004 04:04, ron wrote: > > I have code as > > SELECT CASE w > > CASE 1 > > ... > > CASE 2 > > ... > > CASE DEFAULT <--- :( > > ... > > END SELECT > > > > The DEFAULT gives a error but is in the help it is valid > > ELSE works ok. > > > > I tested the code as in the help and changed the last case to > > verify the error was not my project related. > > > > Ron > > The syntax is "CASE ELSE" or "DEFAULT". Not "CASE DEFAULT"! > > Regards, [(CASE ELSE | DEFAULT) ... ] It looks at first sight as ELSE or DEFAULT but yes I was VERY wrong this time. A sentence below it is in a clear way to read. Sorry Ron From ronstk at ...239... Sat Mar 27 21:48:31 2004 From: ronstk at ...239... (ron) Date: Sat, 27 Mar 2004 21:48:31 +0100 Subject: [Gambas-user] CONTRIB: Modified Find for editor with List In-Reply-To: <200403262129.52481.abidoo.too@...11...> References: <200403240332.43654.ronstk@...239...> <200403261952.53576.gambas@...1...> <200403262129.52481.abidoo.too@...11...> Message-ID: <200403272148.31754.ronstk@...239...> On Friday 26 March 2004 21:29, Fabien Bodard wrote: > i've corrected the ocur bugs.... > > now you can have to identical key... > > my correction is between <fabien> tags > > Fabien Ok Fabien, I have good news. I found the real reason (i think). As told I belive the key is correct and it was. The way to get the bug is if you change, after the list is build, the cursor postion to the start of the word/line and then press the Find Next again. The orginal search start and ends at the cursor position of the editor for line and column and the start line is done twice as right part + otherlines + left part. I search the whole line at once starting at column 1 but get the line twice. Change the code to IF NOT cvwFindList.Exist(sleaf) THEN cvwFindList.Add(sLeaf, Right$(" " & CStr(iLine+1),5),,sNode) cvwFindList[sLeaf][1] = Right$(" " & CStr(iLine+1),5) & " " cvwFindList[sLeaf][2] = Right$(" " & CStr(iPos) ,5) & " " cvwFindList[sLeaf][3] = Trim(sLine) ' sLine'leading tabs in UltraEdit ENDIF I changed this way and works now correct, I can't force this bug. Ron From Karl.Reinl at ...9... Sat Mar 27 22:19:15 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 27 Mar 2004 22:19:15 +0100 Subject: [Gambas-user] is it a BUG ? Message-ID: <200403272219.15913.Karl.Reinl@...9...> Salut, like you can see in snapshot12 and snapshot13 the IDE chashes. This happend, while I was deleting by backspace in line PUBLIC SUB FldTableView_Menu(), starting at ->TableView_Menu(). When I delete the F the IDE crash. I attached you the project, it is the part of gdbm FRequest , I outsourced to a new project to study the TableView I want to use. Using: gambas-0.91 (downloaded from the gambas-shrine) gentoo 1.4 qt-3.3.0 gcc 3.3.2 KDE 3.2.1 mysql 4.0.18 psql 7.3.5 sqlite 2.8.11 (all parts where newly compiled after System changes) Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot12.png Type: image/png Size: 13199 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040327/bc4c8ec3/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot13.png Type: image/png Size: 26789 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040327/bc4c8ec3/attachment-0001.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: CVTest.tar.gz Type: application/x-tgz Size: 12096 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040327/bc4c8ec3/attachment.bin> From ronstk at ...239... Sat Mar 27 22:50:32 2004 From: ronstk at ...239... (ron) Date: Sat, 27 Mar 2004 22:50:32 +0100 Subject: [Gambas-user] is it a BUG ? In-Reply-To: <200403272219.15913.Karl.Reinl@...9...> References: <200403272219.15913.Karl.Reinl@...9...> Message-ID: <200403272250.32817.ronstk@...239...> On Saturday 27 March 2004 22:19, Charlie Reinl wrote: > Salut, > > like you can see in snapshot12 and snapshot13 the IDE chashes. > This happend, while I was deleting by backspace in line > PUBLIC SUB FldTableView_Menu(), starting at ->TableView_Menu(). > When I delete the F the IDE crash. > > I attached you the project, it is the part of gdbm FRequest , I outsourced > to a new project to study the TableView I want to use. > > Using: > gambas-0.91 (downloaded from the gambas-shrine) > gentoo 1.4 > qt-3.3.0 > gcc 3.3.2 > KDE 3.2.1 > mysql 4.0.18 > psql 7.3.5 > sqlite 2.8.11 > (all parts where newly compiled after System changes) > > Amicalement > Charlie Hi Charlie, I had it once to see [Gambas-user] Bug: FEditor From ronstk at ...239... Sun Mar 28 05:20:36 2004 From: ronstk at ...239... (ron) Date: Sun, 28 Mar 2004 04:20:36 +0100 Subject: [Gambas-user] How do i use columnview.MoveBelow() ? Message-ID: <200403280520.36437.ronstk@...239...> I still can't get it working in a list of 10 items the 4' is selected. I want in code move to the item below with ColumnView1.MoveBelow() but nothing happens Pleas help Ron From ronstk at ...239... Sun Mar 28 06:03:25 2004 From: ronstk at ...239... (ron) Date: Sun, 28 Mar 2004 06:03:25 +0200 Subject: [Gambas-user] How do I use TreeView/ColumnView ?????? In-Reply-To: <200403232211.52708.ronstk@...239...> References: <200403232211.52708.ronstk@...239...> Message-ID: <200403280603.26070.ronstk@...239...> Is there anybody who know how to use the ColumnView.MoveTo() and other MoveXXX() methods??? Crying for help Ron From gambas at ...1... Sun Mar 28 11:21:22 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 28 Mar 2004 11:21:22 +0200 Subject: [Gambas-user] How do i use columnview.MoveBelow() ? In-Reply-To: <200403280520.36437.ronstk@...239...> References: <200403280520.36437.ronstk@...239...> Message-ID: <200403281121.22734.gambas@...1...> On Sunday 28 March 2004 05:20, ron wrote: > I still can't get it working > > in a list of 10 items the 4' is selected. > I want in code move to the item below with > > ColumnView1.MoveBelow() > > but nothing happens > > Pleas help > > Ron > The Move*() methods move the INTERNAL cursor of the control. So, to select the item below: ColumnView1.MoveCurrent() ColumnView1.MoveBelow() ColumnView1.Item.Selected = TRUE Regards, -- Benoit Minisini mailto:gambas at ...1... From sebastian.jauch at ...20... Sun Mar 28 12:24:16 2004 From: sebastian.jauch at ...20... (Sebastian Jauch) Date: Sun, 28 Mar 2004 12:24:16 +0200 Subject: [Gambas-user] Control Groups-bug? Message-ID: <20040328122416.53ab51d0@...37...> Hello, i found some strange behaviour when running through a control group, i sometimes want multiple items to be check or only one (depending on the state of cbMultiple.Value now without the line "IF ($cbAnswers[i]=LAST) THEN CONTINUE" gambas enters the debugger, shows a lot of weired variables things like "swer.click" ... adding the line "IF ($cbAnswers[i]=LAST) THEN CONTINUE" makes everything work fine $cbAnswers is a global variable which contains all the checkboxes of group "cbAnswer", it seems that whenn i do $cbAnswers[i].Value=false withe the LAST item the LAST variable gets horribly corrupted ?? items of $cbAnswers are initialized with: tempObject=NEW checkbox(ME) AS "cbAnswer" $cbAnswers.Add(tempObject) is there some mistake in my code? ------- code that crashes when clicking on a checkbox of group cbAnswer PUBLIC SUB cbAnswer_Click() DIM i AS Integer DIM cbTemp AS Checkbox IF NOT cbMultiple.Value THEN FOR i=0 TO $cbAnswers.Length-1 cbTemp=$cbAnswers[i] cbTemp.Value=FALSE NEXT cbTemp=LAST cbTemp.Value=TRUE END IF END -------------- next part -------------- A non-text attachment was scrubbed... Name: controlGroupBug.tgz Type: application/octet-stream Size: 51298 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040328/f271b1e7/attachment.obj> From ronstk at ...239... Sun Mar 28 16:28:00 2004 From: ronstk at ...239... (ron) Date: Sun, 28 Mar 2004 16:28:00 +0200 Subject: [Gambas-user] How do i use columnview.MoveBelow() ? In-Reply-To: <200403281121.22734.gambas@...1...> References: <200403280520.36437.ronstk@...239...> <200403281121.22734.gambas@...1...> Message-ID: <200403281628.00857.ronstk@...239...> On Sunday 28 March 2004 11:21, Benoit Minisini wrote: > On Sunday 28 March 2004 05:20, ron wrote: > > I still can't get it working > > > > in a list of 10 items the 4' is selected. > > I want in code move to the item below with > > > > ColumnView1.MoveBelow() > > > > but nothing happens > > > > Pleas help > > > > Ron > > The Move*() methods move the INTERNAL cursor of the control. > > So, to select the item below: > > ColumnView1.MoveCurrent() > ColumnView1.MoveBelow() > ColumnView1.Item.Selected = TRUE > > Regards, Arrrg, I got it partial now. My example works now after add the the item.selected=true But this is not as I expected, need or had in mind. In msVB the treeview is in that way better then QT version or you did not implement if it can done. The internal cursor is at a node/leaf, I must know the key of the parent. in VB you can you use pKey= TreeView1.Parent.key Or if you are at the 3 level pKey=TV.Parent.Parent.Key Here the Parent delivers the .TreeViewItem virtual class In Gambas the .Current should refer to the selected and hightight node and .Item reflect the node of the internal pointer. It does that regarding the help browser. With the move*() the internal pointer walks in the tree, also in the help Then I expected after the Move*() the .Item reflects that node and I can read the key/text of it and not I must use the .Item.Selected If this worked you can analize what is in the tree without disrupting the view the user had with the selected node. You can show in a textbox the key/text of the child nodes My point is, that I must use the item.select to get the node data I moved to, and the user cursor follows that. Is there a way the .Item follows the internal pointer without the .Selected is set ? In VB the .Parent gives a tree part where the parent is like the root .Children[1] does the same for that child i.e. .Children[1].Key. I'm a bit sad now. :( Ron From ronstk at ...239... Sun Mar 28 18:24:58 2004 From: ronstk at ...239... (ron) Date: Sun, 28 Mar 2004 18:24:58 +0200 Subject: [Gambas-user] How do i use columnview.MoveBelow() ? In-Reply-To: <200403281628.00857.ronstk@...239...> References: <200403280520.36437.ronstk@...239...> <200403281121.22734.gambas@...1...> <200403281628.00857.ronstk@...239...> Message-ID: <200403281824.58839.ronstk@...239...> Sorry I send this one direct to your email but I'm desperate I just got problem report of the server in germany on a project I have running for friend in Tenerife. If you want to release it as you made now there is no problem. General the way you do is good. For the columnview I can not get it working. I click on a entry in the column view Put the key for that item in the columnview.tag Then next code runs if the Find Next is pressed skey=cvwFindList.tag < -- gives the good value ' if key is set goto it IF cvwFindList.tag THEN cvwFindList.moveto(cvwFindList.tag) '<-- it is already cvwFindlist.Item.Selected=TRUE <-- object not found ENDIF ' make it the active one, it is already but.... cvwfindlist.moveCurrent() cvwFindlist.Item.Selected=TRUE ' is it IF cvwFindlist.Available THEN cvwFindlist.Item.Selected=TRUE cvwFindlist.MoveBelow() cvwFindlist.Item.Selected=TRUE ' get the next key to go after rebuild TRY sKey=CStr(cvwFindlist.Key) ENDIF ' do somthing, rebuild the columnview search(FALSE, FALSE) ' check if the old exists, goto and select IF cvwfindlist.Exist(sKey) THEN cvwFindList.moveto(sKey) cvwFindlist.Item.Selected=TRUE ENDIF Where o where do I something wrong.?????? My wish was simple ' get current for going to default skey=cvwFindList.key ' do something, rebuild the columnview search(FALSE, FALSE) if skey then if cvwFindList.exist(sKey) then cvwFindList.moveto(sKey) cvwFindlist.Item.Selected=TRUE endif 'and ready I'm also afraid that the .Item.Selected will fire the columnview_click event and that is not true, the user did not select any thing. Ron From abidoo.too at ...11... Sun Mar 28 22:21:39 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 28 Mar 2004 22:21:39 +0200 Subject: [Gambas-user] Please help me Message-ID: <200403282221.39248.abidoo.too@...11...> Hi all I have a probleme, i wan't to use sqlite, so i've installed it, and it compile good. But i have a problem, in gdm, i can't add a new database.. any database in fact. Please nigel or benoit can you tell me how i can do that... i really need file database system. Fabien From na2492 at ...9... Sun Mar 28 23:28:22 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Sun, 28 Mar 2004 23:28:22 00200 Subject: [Gambas-user] Please help me Message-ID: <40674376.2858.0@...9...> >Hi all > >I have a probleme, i wan't to use sqlite, so i've installed it, and it compile >good. > >But i have a problem, in gdm, i can't add a new database.. any database in >fact. > >Please nigel or benoit can you tell me how i can do that... i really need file >database system. > >Fabien Salut Fabien, what is the Error which occured ? Sqlite write ( at my box ) the DB to the gambas\bin Directory (where the gdbm is located) Do you have rights there (to write) Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From abidoo.too at ...11... Mon Mar 29 12:30:41 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 29 Mar 2004 12:30:41 +0200 Subject: [Gambas-user] Please help me In-Reply-To: <40674376.2858.0@...9...> References: <40674376.2858.0@...9...> Message-ID: <200403291230.41946.abidoo.too@...11...> Thank you very much !!! It was a permission problem Can't we save this database where we want ? From gambas at ...1... Mon Mar 29 13:27:06 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 29 Mar 2004 13:27:06 +0200 Subject: [Gambas-user] How do i use columnview.MoveBelow() ? In-Reply-To: <200403281628.00857.ronstk@...239...> References: <200403280520.36437.ronstk@...239...> <200403281121.22734.gambas@...1...> <200403281628.00857.ronstk@...239...> Message-ID: <200403291327.06444.gambas@...1...> On Sunday 28 March 2004 16:28, ron wrote: > On Sunday 28 March 2004 11:21, Benoit Minisini wrote: > > On Sunday 28 March 2004 05:20, ron wrote: > > > I still can't get it working > > > > > > in a list of 10 items the 4' is selected. > > > I want in code move to the item below with > > > > > > ColumnView1.MoveBelow() > > > > > > but nothing happens > > > > > > Pleas help > > > > > > Ron > > > > The Move*() methods move the INTERNAL cursor of the control. > > > > So, to select the item below: > > > > ColumnView1.MoveCurrent() > > ColumnView1.MoveBelow() > > ColumnView1.Item.Selected = TRUE > > > > Regards, > > Arrrg, I got it partial now. > My example works now after add the the item.selected=true > > But this is not as I expected, need or had in mind. > > In msVB the treeview is in that way better then QT version > or you did not implement if it can done. No, the QT TreeView is far better than the msVB one. And the way I implemented it is just different because I wanted to avoid creating useless objects for each tree node. Try to fill a treeview with thousands of nodes in Vb and in Gambas, and then compare. > > The internal cursor is at a node/leaf, I must know the key of the > parent. in VB you can you use pKey= TreeView1.Parent.key > Or if you are at the 3 level pKey=TV.Parent.Parent.Key > Here the Parent delivers the .TreeViewItem virtual class > > In Gambas the .Current should refer to the selected and hightight > node and .Item reflect the node of the internal pointer. > It does that regarding the help browser. Thsi is true. But when you use .Current, then the internal pointer is moved to the current node. > With the move*() the internal pointer walks in the tree, also in the help > > Then I expected after the Move*() the .Item reflects that node and I > can read the key/text of it and not I must use the .Item.Selected It works like that! > > If this worked you can analize what is in the tree without disrupting > the view the user had with the selected node. > You can show in a textbox the key/text of the child nodes > > My point is, that I must use the item.select to get the node data > I moved to, and the user cursor follows that. > > Is there a way the .Item follows the internal pointer without the > .Selected is set ? I really don't understand your point. > > In VB the .Parent gives a tree part where the parent is like the root > .Children[1] does the same for that child i.e. .Children[1].Key. > > > I'm a bit sad now. :( > > Ron > Gambas thinks are not exactly like VB things! :-) - Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Mon Mar 29 13:59:46 2004 From: ronstk at ...239... (ron) Date: Mon, 29 Mar 2004 13:59:46 +0200 Subject: [Gambas-user] How do i use columnview.MoveBelow() ? In-Reply-To: <200403291327.06444.gambas@...1...> References: <200403280520.36437.ronstk@...239...> <200403281628.00857.ronstk@...239...> <200403291327.06444.gambas@...1...> Message-ID: <200403291359.46708.ronstk@...239...> Hi Benoit I stripppppppppppppp a lotttttttt >> Is there a way the .Item follows the internal pointer without the >> ?.Selected is set ? > I really don't understand your point. In the example you has given .item.selected was used. But as I found with many try and error that I could walk and get the key. > > > In VB the .Parent gives a tree part where the parent is like the root > > .Children[1] does the same for that child i.e. .Children[1].Key. > > > > > > I'm a bit sad now. :( > > > > Ron > > Gambas thinks are not exactly like VB things! :-) Yeah, I found it the hard way but for some point I did like VB. Part of a workflow and stock program in a repair center across Europe doing the communication between 8 places for it. I did the job right but management has failed at the end. > > - > Benoit Minisini > mailto:gambas at ...1... > In this case VB background brings wrong idea's for gambas :( With the help of the test program I found it working and could use the experience and finish the Find contribution. Thanks for the example etc. Ron From na2492 at ...9... Mon Mar 29 14:19:20 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Mon, 29 Mar 2004 14:19:20 00200 Subject: [Gambas-user] Please help me Message-ID: <40681448.5bc8.0@...9...> >Thank you very much !!! > >It was a permission problem > >Can't we save this database where we want ? Salut Fabien, I do not know, I think I made the same as you. I just installed SQlite and tried it with gambas. Somewhere in the Docus, I think you will find that. Some Settings to export or so. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From jholm at ...381... Mon Mar 29 14:27:33 2004 From: jholm at ...381... (jholm at ...381...) Date: Mon, 29 Mar 2004 14:27:33 +0200 Subject: [Gambas-user] numerical error in Gambas?? Message-ID: <20040329121508.M10911@...381...> Hi everyone, I have a rather peculiar problem when I compile the following in Gambas: PUBLIC SUB Main() DIM i AS Float FOR i = 1.66 TO 1.70 STEP 0.001 PRINT i*(1.0/i) NEXT END I get "0.1" values for some of the i values, which is obviously wrong. By doing the same in C++ (and compiling with g++): #include <iostream> using namespace std; int main(void) { for (double i=1.66; i<1.7;i +=0.001){ cout << i*(1/i); }; return 0; } I get the correct stream of 1's. I have compiled Gambas directly from source, with no problems in the configure script (but no db components are compiled). Is this just my machine? or have I totally misunderstood that division operator? Jesper From nigel at ...38... Mon Mar 29 15:29:29 2004 From: nigel at ...38... (Nigel Gerrard) Date: Mon, 29 Mar 2004 14:29:29 +0100 Subject: [Gambas-user] Please help me References: <40674376.2858.0@...9...> <200403291230.41946.abidoo.too@...11...> Message-ID: <000c01c41591$ddcf7b60$984e4d51@...360...> The environment variable GAMBAS_SQLITE_DBHOME should be set to the directory you wish the database to reside, otherwise it will create it in the current directory. Infact, you really should be able to enter the fullpath name and database name e.g. /home/database/databasefred but currently this does not work due to the validation routine on allowable names. I will investigate further. Nigel ----- Original Message ----- From: "Fabien Bodard" <abidoo.too at ...11...> To: <gambas-user at lists.sourceforge.net> Sent: Monday, March 29, 2004 11:30 AM Subject: Re: [Gambas-user] Please help me > Thank you very much !!! > > It was a permission problem > > Can't we save this database where we want ? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From reseauxit at ...325... Mon Mar 29 17:55:35 2004 From: reseauxit at ...325... (reseaux) Date: Mon, 29 Mar 2004 15:55:35 +0000 Subject: [Gambas-user] Gambas Internet Cafe Message-ID: <200403291555.35446.reseauxit@...325...> Dear Mail List I'm start to develop a program to manage an Internet Cafe and i want use Gambas, i love it!! Can someone give me some hits to control the Client Side Desktop (like Logout after finished the credit, or to push info to the client?) Thanks in advance Dimitri From dimitribellini at ...69... Mon Mar 29 17:55:58 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Mon, 29 Mar 2004 15:55:58 +0000 Subject: [Gambas-user] Gambas Internet Cafe Message-ID: <200403291555.58449.dimitribellini@...69...> Dear Mail List I'm start to develop a program to manage an Internet Cafe and i want use Gambas, i love it!! Can someone give me some hits to control the Client Side Desktop (like Logout after finished the credit, or to push info to the client?) Thanks in advance Dimitri From sourceforge-raindog2 at ...94... Mon Mar 29 17:24:51 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 29 Mar 2004 10:24:51 -0500 Subject: [Gambas-user] Gambas Internet Cafe In-Reply-To: <200403291555.58449.dimitribellini@...69...> References: <200403291555.58449.dimitribellini@...69...> Message-ID: <200403291024.51731.sourceforge-raindog2@...94...> On Monday 29 March 2004 10:55, Dimitri Bellini wrote: > Can someone give me some hits to control the Client Side > Desktop (like Logout after finished the credit, or to push > info to the client?) Thanks in advance I've actually done a number of applications where Gambas was the primary interface during login (a game menu, a banking terminal application, etc.) where you want to kill the session after you're done, and it can be done a number of ways. None of them is exactly what you want to do but maybe I can give you some ideas. For the game menu, which I did using KDE, I just put the icon in the autostart folder, made the gambas app full screen and always on top, and then hid it when the games ran and restored it when they exited (using SHELL...WAIT). I didn't have a need to log out (just shutdown or reboot, which can be done with "halt" or "reboot" respectively, at least on Mandrake) but have a look at kdeinit_shutdown. (I think "killall kdeinit" will do the same thing, maybe not as nicely.) For the banking apps, I was running them under VNC, and in the .xsession-startup I had a line "sawfish &" (sawfish being the most minimal window manager I had on hand that still worked the way Windows users expect...) and then my app, *not* backgrounded. My app was once again full screen (the window manager was just there for the dialogs.) After that I think I did something like killall Xvnc, since it was running under VNC. (Obviously each user could only have one of these sessions running.) Rob From nigel at ...38... Mon Mar 29 18:37:04 2004 From: nigel at ...38... (Nigel Gerrard) Date: Mon, 29 Mar 2004 17:37:04 +0100 Subject: [Gambas-user] Please help me Message-ID: <005001c415ac$11f825d0$984e4d51@...360...> I've just reposted this answer because the last one didn't seem to get through: The environment variable GAMBAS_SQLITE_DBHOME should be set to the directory you wish the database to reside, otherwise it will create it in the current directory. Infact, you really should be able to enter the fullpath name and database name e.g. /home/database/databasefred but currently this does not work due to the validation routine on allowable names. I will investigate further. Nigel ----- Original Message ----- From: "Fabien Bodard" <abidoo.too at ...11...> To: <gambas-user at lists.sourceforge.net> Sent: Monday, March 29, 2004 11:30 AM Subject: Re: [Gambas-user] Please help me > Thank you very much !!! > > It was a permission problem > > Can't we save this database where we want ? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040329/3acec01a/attachment.html> From dimitribellini at ...69... Mon Mar 29 19:25:30 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Mon, 29 Mar 2004 17:25:30 +0000 Subject: [Gambas-user] Gambas Internet Cafe In-Reply-To: <200403291024.51731.sourceforge-raindog2@...94...> References: <200403291555.58449.dimitribellini@...69...> <200403291024.51731.sourceforge-raindog2@...94...> Message-ID: <200403291725.30172.dimitribellini@...69...> Thanks Rob for your possible solution, after your suggest i want ask if is possible to start a mozilla session and after time period (credit left) kill from a main Gambas apps like a child proc? What do you think? Sorry for my bad explanation (english problem..) . Thanks in advance Dimitri Bellini On Monday 29 March 2004 15:24, Rob wrote: > On Monday 29 March 2004 10:55, Dimitri Bellini wrote: > > Can someone give me some hits to control the Client Side > > Desktop (like Logout after finished the credit, or to push > > info to the client?) Thanks in advance > > I've actually done a number of applications where Gambas was the > primary interface during login (a game menu, a banking terminal > application, etc.) where you want to kill the session after > you're done, and it can be done a number of ways. None of them > is exactly what you want to do but maybe I can give you some > ideas. > > For the game menu, which I did using KDE, I just put the icon in > the autostart folder, made the gambas app full screen and always > on top, and then hid it when the games ran and restored it when > they exited (using SHELL...WAIT). I didn't have a need to log > out (just shutdown or reboot, which can be done with "halt" or > "reboot" respectively, at least on Mandrake) but have a look at > kdeinit_shutdown. (I think "killall kdeinit" will do the same > thing, maybe not as nicely.) > > For the banking apps, I was running them under VNC, and in the > .xsession-startup I had a line "sawfish &" (sawfish being the > most minimal window manager I had on hand that still worked the > way Windows users expect...) and then my app, *not* > backgrounded. My app was once again full screen (the window > manager was just there for the dialogs.) After that I think I > did something like killall Xvnc, since it was running under VNC. > (Obviously each user could only have one of these sessions > running.) > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Mon Mar 29 19:09:12 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 29 Mar 2004 12:09:12 -0500 Subject: [Gambas-user] Gambas Internet Cafe In-Reply-To: <200403291725.30172.dimitribellini@...69...> References: <200403291555.58449.dimitribellini@...69...> <200403291024.51731.sourceforge-raindog2@...94...> <200403291725.30172.dimitribellini@...69...> Message-ID: <200403291209.12276.sourceforge-raindog2@...94...> On Monday 29 March 2004 12:25, Dimitri Bellini wrote: > for your possible solution, after your suggest i want ask if > is possible to start a mozilla session and after time period > (credit left) kill from a main Gambas apps like a child proc? > What do you think? Absolutely. PUBLIC MozProcess AS Process PUBLIC cutofftime AS Long sub StartMozilla() shell "mozilla-firefox" as MozProcess cutofftime = now + 3600 ' I don't know if this will work! ' but the idea is, 1 hour from now... ' that's how I'd do it in perl :) ' it might be more like now + (1.0/24.0) Timer1.interval = 30000 ' every 30 seconds Timer1.enabled = true end sub Timer1_Timer() if now > cutofftime then MozProcess.Kill end or something like that.... Rob From dimitribellini at ...69... Mon Mar 29 20:56:36 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Mon, 29 Mar 2004 18:56:36 +0000 Subject: [Gambas-user] Gambas Internet Cafe In-Reply-To: <200403291209.12276.sourceforge-raindog2@...94...> References: <200403291555.58449.dimitribellini@...69...> <200403291725.30172.dimitribellini@...69...> <200403291209.12276.sourceforge-raindog2@...94...> Message-ID: <200403291856.36644.dimitribellini@...69...> Thanks Rob !!! I will try immediatly!!! Dimitri On Monday 29 March 2004 17:09, Rob wrote: > On Monday 29 March 2004 12:25, Dimitri Bellini wrote: > > for your possible solution, after your suggest i want ask if > > is possible to start a mozilla session and after time period > > (credit left) kill from a main Gambas apps like a child proc? > > What do you think? > > Absolutely. > > PUBLIC MozProcess AS Process > PUBLIC cutofftime AS Long > > sub StartMozilla() > shell "mozilla-firefox" as MozProcess > cutofftime = now + 3600 ' I don't know if this will work! > ' but the idea is, 1 hour from now... > ' that's how I'd do it in perl :) > ' it might be more like now + (1.0/24.0) > Timer1.interval = 30000 ' every 30 seconds > Timer1.enabled = true > end > > sub Timer1_Timer() > if now > cutofftime then MozProcess.Kill > end > > or something like that.... > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From dimitribellini at ...69... Mon Mar 29 21:23:36 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Mon, 29 Mar 2004 19:23:36 +0000 Subject: [Gambas-user] Gambas Internet Cafe In-Reply-To: <200403291209.12276.sourceforge-raindog2@...94...> References: <200403291555.58449.dimitribellini@...69...> <200403291725.30172.dimitribellini@...69...> <200403291209.12276.sourceforge-raindog2@...94...> Message-ID: <200403291923.36755.dimitribellini@...69...> Dear Rob i try to put your code but i have an error syntax in: - shell "mozilla-firefox" as MozProcess I cant understand why? thanks Dimitri On Monday 29 March 2004 17:09, Rob wrote: > On Monday 29 March 2004 12:25, Dimitri Bellini wrote: > > for your possible solution, after your suggest i want ask if > > is possible to start a mozilla session and after time period > > (credit left) kill from a main Gambas apps like a child proc? > > What do you think? > > Absolutely. > > PUBLIC MozProcess AS Process > PUBLIC cutofftime AS Long > > sub StartMozilla() > shell "mozilla-firefox" as MozProcess > cutofftime = now + 3600 ' I don't know if this will work! > ' but the idea is, 1 hour from now... > ' that's how I'd do it in perl :) > ' it might be more like now + (1.0/24.0) > Timer1.interval = 30000 ' every 30 seconds > Timer1.enabled = true > end > > sub Timer1_Timer() > if now > cutofftime then MozProcess.Kill > end > > or something like that.... > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jscops at ...11... Mon Mar 29 23:24:24 2004 From: jscops at ...11... (Jack) Date: Mon, 29 Mar 2004 21:24:24 +0000 Subject: [Gambas-user] Pb with database update. Message-ID: <200403292124.24684.jscops@...11...> Hello Gambers ! When i update my base (please see the command below) i have this message. "Expression too complex. Too many operands ? la ligne 507 dans Fclient.class" My table "Tab" have more than 30 fields. How to do for update my database ? Thank you very much for yours explanations. _~ Jack ~_ My command : rResult = DB.Exec("UPDATE "&Tab&" SET Cli_Code = '" & Cd.Text & "' , Cli_Rs_Soc = '" & CV.Text & "' , Cli_Nom = '" & Nm.Text & "' , Cli_Pnm = '" & Pnm.Text & "' , Cli_Adr1 = '" & Adresse1.Text & "' , Cli_Adr2 = '" & Adresse2.Text & "' , Cli_Cd_Ptl = '" & CP.Text & "' , Cli_Ville = '" & Burdist.Text & "', Cli_Email = '" & Email.Text & "', Cli_Tel_Dom = '" & Teldom.Text & "', Cli_Tel_Bur = '" & Telbur.Text & "', Cli_Tel_poste = '" & Poste.Text & "', Cli_Pble = '" & Portable.Text & "',Cli_Fx1 = '" & Fax1.Text & "', Cli_Fx2 = '" & Fax2.Text & "', Cli_Plaf_Ecrs = '" & Encours.Text & "', Cli_Cd_Bq = '" & Codebanque.Text & "' , Cli_Cd_Gch = '" & Codeguichet.Text & "', Cli_Cle_Rib = '" & Cle.Text & "', Cli_Num_Cpt = '" & Numcompte.Text & "', Cli_Dmln = '" & Dom.Text & "' , Cli_Cd_Ent = '" & Cent.Text & "', Cli_Cd_Acc = '" & Cacc.Text & "', Cli_Ref_Tir = '" & tire.Text & "', Cli_Id_Tva = '" & Idtva.Text & "', Cli_Blq = '" & Convbool(Cbloque.Value) & "', Cli_Exo = '" & Convbool(Cexo.Value) & "', Cli_Rlvc = '" & Convbool(Relcompte.Value) & "', Cli_Obs = '" & Divers.Text & "', Cli_Collectif = '" & Collectif.Text & "' WHERE Cli_Code = '" & Colcli.Current.key & "'") From ronstk at ...239... Mon Mar 29 21:46:02 2004 From: ronstk at ...239... (ron) Date: Mon, 29 Mar 2004 21:46:02 +0200 Subject: [Gambas-user] Pb with database update. In-Reply-To: <200403292124.24684.jscops@...11...> References: <200403292124.24684.jscops@...11...> Message-ID: <200403292146.02684.ronstk@...239...> Try it in two steps with same WHERE criteria? On Monday 29 March 2004 23:24, Jack wrote: > Hello Gambers ! > > When i update my base (please see the command below) i have this message. > "Expression too complex. Too many operands ? la ligne 507 dans > Fclient.class" My table "Tab" have more than 30 fields. How to do for > update my database ? > > Thank you very much for yours explanations. > > _~ Jack ~_ > > My command : > rResult = DB.Exec("UPDATE "&Tab&" SET Cli_Code = '" & Cd.Text & "' , > Cli_Rs_Soc = '" & CV.Text & "' , Cli_Nom = '" & Nm.Text & "' , Cli_Pnm = '" > & Pnm.Text & "' , Cli_Adr1 = '" & Adresse1.Text & "' , Cli_Adr2 = '" & > Adresse2.Text & "' , Cli_Cd_Ptl = '" & CP.Text & "' , Cli_Ville = '" & > Burdist.Text & "', Cli_Email = '" & Email.Text & "', Cli_Tel_Dom = '" & > Teldom.Text & "', Cli_Tel_Bur = '" & Telbur.Text & "', Cli_Tel_poste = '" & > Poste.Text & "', Cli_Pble = '" & Portable.Text & "',Cli_Fx1 = '" & > Fax1.Text & "', Cli_Fx2 = '" & Fax2.Text & "', Cli_Plaf_Ecrs = '" & > Encours.Text & "', Cli_Cd_Bq = '" & Codebanque.Text & "' , Cli_Cd_Gch = '" > & Codeguichet.Text & "', Cli_Cle_Rib = '" & Cle.Text & "', Cli_Num_Cpt = '" > & Numcompte.Text & "', Cli_Dmln = '" & Dom.Text & "' , Cli_Cd_Ent = '" & > Cent.Text & "', Cli_Cd_Acc = '" & Cacc.Text & "', Cli_Ref_Tir = '" & > tire.Text & "', Cli_Id_Tva = '" & Idtva.Text & "', Cli_Blq = '" & > Convbool(Cbloque.Value) & "', Cli_Exo = '" & Convbool(Cexo.Value) & "', > Cli_Rlvc = '" & Convbool(Relcompte.Value) & "', Cli_Obs = '" & Divers.Text > & "', Cli_Collectif = '" & Collectif.Text & "' WHERE Cli_Code = '" & > Colcli.Current.key & "'") > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=Click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jscops at ...11... Tue Mar 30 00:07:38 2004 From: jscops at ...11... (Jack) Date: Mon, 29 Mar 2004 22:07:38 +0000 Subject: [Gambas-user] database Message-ID: <200403292207.38463.jscops@...11...> >Try it in two steps with same WHERE criteria? Thank's Ron. ?~ Jack ~? From abidoo.too at ...11... Mon Mar 29 23:54:53 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 29 Mar 2004 23:54:53 +0200 Subject: [Gambas-user] i don't know what is that... core file Message-ID: <200403292354.53318.abidoo.too@...11...> Hi benoit , In many of my project i've found some core files... an idea about that ? Fabien -------------- next part -------------- A non-text attachment was scrubbed... Name: capture14.png Type: image/png Size: 23363 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040329/8e0e2ef4/attachment.png> From ronstk at ...239... Mon Mar 29 23:04:20 2004 From: ronstk at ...239... (ron) Date: Mon, 29 Mar 2004 23:04:20 +0200 Subject: [Gambas-user] database In-Reply-To: <200403292207.38463.jscops@...11...> References: <200403292207.38463.jscops@...11...> Message-ID: <200403292304.20933.ronstk@...239...> On Tuesday 30 March 2004 00:07, Jack wrote: > >Try it in two steps with same WHERE criteria? > > Thank's Ron. > > ?~ Jack ~? Your welcome, I had the same problem once. One note, because it goes in two or more steps the record can be for other users not valid in the short time. Ron From ronstk at ...239... Mon Mar 29 23:08:36 2004 From: ronstk at ...239... (ron) Date: Mon, 29 Mar 2004 23:08:36 +0200 Subject: [Gambas-user] i don't know what is that... core file In-Reply-To: <200403292354.53318.abidoo.too@...11...> References: <200403292354.53318.abidoo.too@...11...> Message-ID: <200403292308.36251.ronstk@...239...> On Monday 29 March 2004 23:54, Fabien Bodard wrote: > Hi benoit , > > In many of my project i've found some core files... an idea about that ? > > Fabien Can you see what in those files. A hexviewer maybe help. Are they not from SQLite? Ron From sourceforge-raindog2 at ...94... Tue Mar 30 02:17:06 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 29 Mar 2004 19:17:06 -0500 Subject: [Gambas-user] Gambas Internet Cafe In-Reply-To: <200403291923.36755.dimitribellini@...69...> References: <200403291555.58449.dimitribellini@...69...> <200403291209.12276.sourceforge-raindog2@...94...> <200403291923.36755.dimitribellini@...69...> Message-ID: <200403291917.06071.sourceforge-raindog2@...94...> On Monday 29 March 2004 14:23, Dimitri Bellini wrote: > Dear Rob > i try to put your code but i have an error syntax in: > - shell "mozilla-firefox" as MozProcess > I cant understand why? It looks like the infamous "Gambas hates tabs" problem. If you copy it out of somewhere that won't put tabs on the clipboard (like Konsole) it might be okay, but otherwise you need to delete the whitespace at the beginning of the line in the gambas IDE (even if it appears to be spaces) and recompile. Turns out you need to killall MozillaFirebird-bin (or whatever they call it now) to terminate mozilla because the shell script you run to start it seems to go away. Here's actual working code copied out of my local gambas IDE (though I had it killing mozilla after 15 seconds, didn't wait an hour :) ) PUBLIC MozProcess AS Process PUBLIC cutofftime AS Date SUB StartMozilla() cutofftime = Now + (1.0/24.0) Timer1.delay = 1000 Timer1.enabled = TRUE SHELL "mozilla-firebird" AS MozProcess END PUBLIC SUB Timer1_Timer() IF Now > cutofftime THEN StopMozilla END SUB StopMozilla() timer1.Enabled = FALSE SHELL "killall -HUP MozillaFirebird-bin" WAIT WAIT 2 SHELL "killall MozillaFirebird-bin" WAIT Message.Info("Sorry, your time is up!") END Rob From dimitribellini at ...69... Tue Mar 30 15:29:09 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Tue, 30 Mar 2004 13:29:09 +0000 Subject: [Gambas-user] Gambas Internet Cafe In-Reply-To: <200403291917.06071.sourceforge-raindog2@...94...> References: <200403291555.58449.dimitribellini@...69...> <200403291923.36755.dimitribellini@...69...> <200403291917.06071.sourceforge-raindog2@...94...> Message-ID: <200403301329.09153.dimitribellini@...69...> Dear Rob thanks for example but i have some problem syntax and gambas :-) If i create a new Project and cut and paste from your mail when i try to run the project Gambas return an error about syntax error on line: SUB StartMozilla() cutofftime = Now + (1.0/24.0) <----- Error Syntax ? Timer1.delay = 1000 Timer1.enabled = TRUE SHELL "mozilla-firebird" AS MozProcess END So i decide to retry with more simple prog like this one below: ------------------------ 'Gambas class file PUBLIC MozProcess AS Process PUBLIC cutofftime AS Long PUBLIC SUB btnClose_Click() ME.Close() END PUBLIC SUB Button1_Click() MozStart() END SUB MozStart() cutofftime=Now + (1/24) tmrSHELL.Delay=1000 tmrSHELL.Enabled=TRUE SHELL "mozilla" AS MozProcess END PUBLIC SUB Button2_Click() IF Now > 100 THEN SHELL "killall -HUP mozilla-bin" WAIT ENDIF END ----------------------------- With it Works!!! But When i try to insert the Function Timer the problem still begin.... :-( So i decide to change something starting from the name on component Timer like this: ------- PUBLIC MozProcess AS Process PUBLIC cutofftime AS Date PUBLIC SUB btnClose_Click() ME.Close() END PUBLIC SUB Button1_Click() MozStart() END SUB MozStart() cutofftime=Now + (1.0/24.0) tmrSHELL.Delay=1000 tmrSHELL.Enabled=TRUE SHELL "mozilla" AS MozProcess END PUBLIC SUB Button2_Click() MozStop() END PUBLIC SUB tmrSHELL_Timer() IF Now > cutofftime THEN ' tmrSHELL.Enabled=FALSE ' SHELL "killall -HUP mozilla-bin" WAIT ' Message.Info("Sorry, your time is up!") MozStop() ENDIF END SUB MozStop() tmrSHELL.Enabled=FALSE SHELL "killall -HUP mozilla-bin" WAIT Message.Info("Sorry, your time is up!") END -------------------------------- With this stupid mod ( :-) ) Works .. Thanks for your help.. I hope this simple solution help someone. Bye Dimitri On Tuesday 30 March 2004 00:17, Rob wrote: > On Monday 29 March 2004 14:23, Dimitri Bellini wrote: > > Dear Rob > > i try to put your code but i have an error syntax in: > > - shell "mozilla-firefox" as MozProcess > > I cant understand why? > > It looks like the infamous "Gambas hates tabs" problem. > If you copy it out of somewhere that won't put tabs on the > clipboard (like Konsole) it might be okay, but otherwise you > need to delete the whitespace at the beginning of the line in > the gambas IDE (even if it appears to be spaces) and recompile. > > Turns out you need to killall MozillaFirebird-bin (or whatever > they call it now) to terminate mozilla because the shell script > you run to start it seems to go away. > > Here's actual working code copied out of my local gambas IDE > (though I had it killing mozilla after 15 seconds, didn't wait > an hour :) ) > > PUBLIC MozProcess AS Process > PUBLIC cutofftime AS Date > > SUB StartMozilla() > cutofftime = Now + (1.0/24.0) > Timer1.delay = 1000 > Timer1.enabled = TRUE > SHELL "mozilla-firebird" AS MozProcess > END > > PUBLIC SUB Timer1_Timer() > > IF Now > cutofftime THEN StopMozilla > > END > > SUB StopMozilla() > timer1.Enabled = FALSE > > SHELL "killall -HUP MozillaFirebird-bin" WAIT > WAIT 2 > SHELL "killall MozillaFirebird-bin" WAIT > > Message.Info("Sorry, your time is up!") > > END > > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From danielcampos at ...282... Tue Mar 30 15:31:47 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Tue, 30 Mar 2004 15:31:47 CEST Subject: [Gambas-user] Gambas Internet Cafe Message-ID: <mnet1.1080653507.22192.danielcampos@...282...> 'Now' is a method, so: cutofftime = Now() + (1.0/24.0) ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From sourceforge-raindog2 at ...94... Tue Mar 30 15:45:35 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 30 Mar 2004 08:45:35 -0500 Subject: [Gambas-user] Gambas Internet Cafe In-Reply-To: <mnet1.1080653507.22192.danielcampos@...282...> References: <mnet1.1080653507.22192.danielcampos@...282...> Message-ID: <200403300845.35830.sourceforge-raindog2@...94...> On Tuesday 30 March 2004 13:31, danielcampos at ...282... wrote: > cutofftime = Now() + (1.0/24.0) However, my program does compile and run correctly using the following line: cutofftime = Now + (1.0/24.0) Rob From msdarmawan at ...396... Tue Mar 30 15:48:22 2004 From: msdarmawan at ...396... (M Sulchan Darmawan) Date: Tue, 30 Mar 2004 20:48:22 +0700 Subject: [Gambas-user] install error Message-ID: <158163769738.20040330204822@...396...> Dear all, I have installed gambas on my desktop successfully. But when I try to install gambas in my laptop, it gives an error message (output.txt). Please show me my mistake. Thank you. ps : using Mandrake 9.1 on both desktop and laptop msdarmawan -EverAfter- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ouput.txt URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040330/e8fb928d/attachment.txt> From sourceforge-raindog2 at ...94... Tue Mar 30 17:21:18 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 30 Mar 2004 10:21:18 -0500 Subject: [Gambas-user] install error In-Reply-To: <158163769738.20040330204822@...396...> References: <158163769738.20040330204822@...396...> Message-ID: <200403301021.18291.sourceforge-raindog2@...94...> On Tuesday 30 March 2004 08:48, M Sulchan Darmawan wrote: > I have installed gambas on my desktop successfully. But when > I try to install gambas in my laptop, it gives an error > message (output.txt). Please show me my mistake. Thank you. > ps : using Mandrake 9.1 on both desktop and laptop I'm guessing it's the src.rpms that are screwing it up.... move those to a different directory (or delete them) and try again? Rob From gambas at ...1... Tue Mar 30 20:15:39 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 30 Mar 2004 20:15:39 +0200 Subject: [Gambas-user] Pb with database update. In-Reply-To: <200403292124.24684.jscops@...11...> References: <200403292124.24684.jscops@...11...> Message-ID: <200403302015.40131.gambas@...1...> On Monday 29 March 2004 23:24, Jack wrote: > Hello Gambers ! > > When i update my base (please see the command below) i have this message. > "Expression too complex. Too many operands ? la ligne 507 dans > Fclient.class" My table "Tab" have more than 30 fields. How to do for > update my database ? > > Thank you very much for yours explanations. > > _~ Jack ~_ > > My command : > ... It just means that the line you want to type is too complex for the interpreter. You cannot use the '&' operator with more than 32 operands. You have three solutions : 1) Use braces to split your concatenation: DB.Exec((... & ... & ...) & (... & ... & ...)) 2) Use an intermediate variable: sExec = ... & ... & ... sExec = sExec & ... & ... & ... DB.Exec(sExec) 3) Use Recordsets in Edit mode. The UPDATE SQL command will be automatically contructed by Gambas. DIM rEdit AS Recordset DIM sWhere AS String rEdit = DB.Edit("MyTable", sWhere) rEdit!Field1 = Value1 rEdit!Field2 = Value2 ... rEdit.Update I always prefer the third solution, because then your code is independent of the underlying database. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Mar 30 20:17:19 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 30 Mar 2004 20:17:19 +0200 Subject: [Gambas-user] i don't know what is that... core file In-Reply-To: <200403292354.53318.abidoo.too@...11...> References: <200403292354.53318.abidoo.too@...11...> Message-ID: <200403302017.19793.gambas@...1...> On Monday 29 March 2004 23:54, Fabien Bodard wrote: > Hi benoit , > > In many of my project i've found some core files... an idea about that ? > > Fabien Beginner :-) Core files are generated by Linux when a process crashes (the Gambas interpreter here). A core file is the dump of all the memory used by a process. You can launch 'gdb' with a core file, and you will see exactly the state of the process when it crashed. If you don't want to get core files, type 'man ulimit' Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Mar 30 20:19:06 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 30 Mar 2004 20:19:06 +0200 Subject: [Gambas-user] Gambas Internet Cafe In-Reply-To: <200403300845.35830.sourceforge-raindog2@...94...> References: <mnet1.1080653507.22192.danielcampos@...282...> <200403300845.35830.sourceforge-raindog2@...94...> Message-ID: <200403302019.06334.gambas@...1...> On Tuesday 30 March 2004 15:45, Rob wrote: > On Tuesday 30 March 2004 13:31, danielcampos at ...282... > > wrote: > > cutofftime = Now() + (1.0/24.0) > > However, my program does compile and run correctly using the > following line: > > cutofftime = Now + (1.0/24.0) > > Rob > Braces are not required when a Gambas subroutine or a procedure does not take parameters. This is NOT the case with normal functions. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Tue Mar 30 20:57:29 2004 From: ronstk at ...239... (ron) Date: Tue, 30 Mar 2004 20:57:29 +0200 Subject: [Gambas-user] i don't know what is that... core file In-Reply-To: <200403302017.19793.gambas@...1...> References: <200403292354.53318.abidoo.too@...11...> <200403302017.19793.gambas@...1...> Message-ID: <200403302057.29986.ronstk@...239...> On Tuesday 30 March 2004 20:17, Benoit Minisini wrote: > On Monday 29 March 2004 23:54, Fabien Bodard wrote: > > Hi benoit , > > > > In many of my project i've found some core files... an idea about that ? > > > > Fabien > > Beginner :-) > > Core files are generated by Linux when a process crashes (the Gambas > interpreter here). A core file is the dump of all the memory used by a > process. You can launch 'gdb' with a core file, and you will see exactly > the state of the process when it crashed. > > If you don't want to get core files, type 'man ulimit' > > Regards, I do not know beginneris for me, I feel stupid to :) Just I do not have one and be curious what it show's with gdb Try to get my linux crashing to get one. LOL Hope I remember this if it happens. Ron From quazar at ...403... Tue Mar 30 21:26:08 2004 From: quazar at ...403... (BluPhoenyx) Date: Tue, 30 Mar 2004 13:26:08 -0600 Subject: [Gambas-user] editor functions Message-ID: <20040330132608.6e0005dc@...404...> Are the recently mentioned editor changes planned for inclusion in the near future? I like both the drop down list for changing procedures and the split window will really help me while getting used to the Gambas syntax. -- Cheers, Mike T. Linux user #169067 (G)aim ID: Linux Lunatyk From gambas at ...1... Tue Mar 30 21:17:51 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 30 Mar 2004 21:17:51 +0200 Subject: [Gambas-user] editor functions In-Reply-To: <20040330132608.6e0005dc@...404...> References: <20040330132608.6e0005dc@...404...> Message-ID: <200403302117.51176.gambas@...1...> On Tuesday 30 March 2004 21:26, BluPhoenyx wrote: > Are the recently mentioned editor changes planned for inclusion in the > near future? I like both the drop down list for changing procedures and > the split window will really help me while getting used to the Gambas > syntax. The drop down list is easy to add, but the split window is a problem, because there is no way to correctly implement it at the moment. I need to modify the internal QT Gambas editor widget so that it can display the same contents in two different places. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Tue Mar 30 21:38:26 2004 From: ronstk at ...239... (ron) Date: Tue, 30 Mar 2004 21:38:26 +0200 Subject: [Gambas-user] editor functions In-Reply-To: <200403302117.51176.gambas@...1...> References: <20040330132608.6e0005dc@...404...> <200403302117.51176.gambas@...1...> Message-ID: <200403302138.26976.ronstk@...239...> On Tuesday 30 March 2004 21:17, Benoit Minisini wrote: > On Tuesday 30 March 2004 21:26, BluPhoenyx wrote: > > Are the recently mentioned editor changes planned for inclusion in the > > near future? I like both the drop down list for changing procedures and > > the split window will really help me while getting used to the Gambas > > syntax. > > The drop down list is easy to add, but the split window is a problem, > because there is no way to correctly implement it at the moment. I need to > modify the internal QT Gambas editor widget so that it can display the same > contents in two different places. > > Regards, Mike: The shot with the boxes is a personal addin I made a few versions back. The split is not really a split of the editor but a synchronzed view of the master editor. You can't edit in it because it was only to have a look in another part of the same module and gambas does not open same module twice. Benoit: I can send you the code for drop down if you want. The split in the way as mentioned above works Ron From quazar at ...403... Wed Mar 31 03:41:41 2004 From: quazar at ...403... (BluPhoenyx) Date: Tue, 30 Mar 2004 19:41:41 -0600 Subject: [Gambas-user] editor functions In-Reply-To: <200403302138.26976.ronstk@...239...> References: <20040330132608.6e0005dc@...404...> <200403302117.51176.gambas@...1...> <200403302138.26976.ronstk@...239...> Message-ID: <20040330194141.1e28113a@...404...> On Tue, 30 Mar 2004 21:38:26 +0200 ron <ronstk at ...239...> wrote: Thanks, Benoit Thanks, Ron > Mike: > The shot with the boxes is a personal addin I made a few versions > back. The split is not really a split of the editor but a synchronzed > view of the master editor. > You can't edit in it because it was only to have a look in another > part of the same module and gambas does not open same module twice. That's exactly what I expected for the split editor. One section to view a portion of code along with one for the actual editing. -- Cheers, Mike T. Linux user #169067 (G)aim ID: Linux Lunatyk From ronstk at ...239... Wed Mar 31 02:40:05 2004 From: ronstk at ...239... (ron) Date: Wed, 31 Mar 2004 02:40:05 +0200 Subject: [Gambas-user] CONTRIB: About The Editor addin used by Ron Message-ID: <200403310240.05395.ronstk@...239...> Hallo everybody, First a little story. I was just switching over from wind..s to *nux and searching for something like VB. What I found was a small list. Gambas was one of them but hbasic did look the solution. However I had no good experience with it. Most were crashes without a hint what was wrong. I don't say it is bad. My experience was bad. Second it is overwhelming with features, also not bad always, but if you start in a new environment you are confused by it. So I decide to go for gambas. In the SuSE Distribution was 0.4x and I try this one. Did download an original v0.63 and 0.65 , compile etc. Compile was not a big problem, a few errors but quickly resolved. For the view how it looks I was disappointed if I compare it to VB. It is true if you want all the bells and wissels of VB but after playing with the examples by changing them you will find it is not so bad after all. It is the lack of experience that is playing with you. Also the (well) known syntax of VB can be a alien, as I had with the ColumnView widget in the past weekend. My first add-in was in the version 0.65 as exercise. One of the things I missed was the combo boxes VB has on top in the editor. If I would have them in gambas too then I have to change it. That is the power of free software this way we have. Searching learns me that I had to change the FEditor.class and .form :) I started to change the form for the combo boxes. Then I started to change the .class file. Programming and testing and had it finally ready. Now the problem raises. What if there is a new version. My code is lost that way. Remember I was just new and CVS?? I resolved by putting all my code in a well marked block at the end. Sometimes for a few lines of code. Add in the original part also well marked calls to my code at the end and accepted it was not running in optimal condition as it should do by changing the original code completely for my wishes in my way. At the end with 5 little interception points in the original code it was easy to reinsert it every time till v0.80. With the current v0.91 I made a missing listview, as in the UltraEdit text editor can be found, for the found places in the Find form and published it before here in the maillist with a snapshot. Then I got the idea to add my missing comboboxes again in the code. I had stopped to do it but now with 0.91 I could still place it again in the code. Screenshot is released. Now to the order of the day: ------------------------------------ I have seen already a message if it can be in gambas. I like also to have it but till Benoit ask me for the code or allow me to do it I will not release any code public that is intercepting the way the IDE works. This for respect to him and his work and he does not get the complains about incorrect working of the IDE by stuff I publish on my own. After all we want a good reliable and stable gambas. I was happy to have it back and only show in the screenshot I had it. I can only publish what I have and how it works by description and a snapshot. If there is enough responce requesting it and Benoit likes it to see if it can be implemented I will send him for investigation and he decide to implement it or not. This is now done for the Find add-in and you must wait what he does with it. And yes there are things he don't even consider to do. It is his creation and he is the maintainer of it, he has that right in my view, else it will be a fork and nobody is, at the end, helped with that. The add-in I make are for personal use because I like what they do. If they can be handy for others I can publish them here and see for reactions. REMEMBER THIS ADDIN IS NOT IN ORGINAL GAMBAS. *** You can only ask nice if it can be implemented. Happy fishing with gambas Ron ************************************************************ * So here is a description about the boxes in question. ************************************************************ How the Editor Boxes work. On the left side the Box has three kind of type as entries. The right Box are the things that are associated with the choice in the left box. What can I choose in the left box? 1. (Global) ------------ If this is selected on the right hand side you get a list. The first is (Declarations) This is the part on top of the class or module where the declarations are done for the class The second partial list are the Specials if they exist. The rest are all the Functions, Sub routines and widget events and methods in case insensitive way sorted. 2. (Special) ------------ When this one is selected you have on the right hand side a list of only these code start points and also in case insensitive way sorted. i.e. _new, _free, _exit and _init 3. names ------------ This is the basic name of the widget as used in the code and is the left part of the underscore in the name On the right side the associated events and methods are there in sorted order. This is the right part after the underscore. The other are the names of the functions and sub routines. They show on the right side <entry>. These are mixed and sorted on name. At the time I made this code there was no easy place to find the difference of these kind names. May be in the future I can split them as two groups. The simple rule is to give names to widget that start with the control name they get on create time and change the number to what you need. A abbreviation of the widget name if it is to will give you in the code also a good reference point. i.e. tbxSearch for TextBoxSearch or lbxXYZ for ListBoxXYZ. Usage: ------------ Usage is simple and if you have a wheel mouse you can quick scan through your code. Select in the left box 'Form' or a name of a widget. In the right side you get the list with the sub functions. With the mouse above the box and using the wheel you jumps real time in the code. In my case I do not have to click. If after selecting in the left box you are satisfied with what you see on the right then with a double click it goes direct to that start point. Special for Functions and Sub names when you see <entry> this is the quick way to do. Opening the right box and selecting something does the same. The main advance compared to the build in 'Goto...' function is that i.e. in the gambas FEditor.class the list is so big that it does not fit in one column anymore. ********************************************************** REMEMBER THIS ADDIN IS NOT IN ORGINAL GAMBAS. *** You can only ask nice if it can be implemented. From quazar at ...403... Wed Mar 31 04:28:39 2004 From: quazar at ...403... (BluPhoenyx) Date: Tue, 30 Mar 2004 20:28:39 -0600 Subject: [Gambas-user] CONTRIB: About The Editor addin used by Ron In-Reply-To: <200403310240.05395.ronstk@...239...> References: <200403310240.05395.ronstk@...239...> Message-ID: <20040330202839.64d32307@...404...> On Wed, 31 Mar 2004 02:40:05 +0200 ron <ronstk at ...239...> wrote: > Hallo everybody, <snip> > Now the problem raises. What if there is a new version. > My code is lost that way. Remember I was just new and CVS?? > I resolved by putting all my code in a well marked block at the end. > Sometimes for a few lines of code. Add in the original part also well > marked calls to my code at the end and accepted it was not running > in optimal condition as it should do by changing the original code > completely for my wishes in my way. > At the end with 5 little interception points in the original code it > was easy to reinsert it every time till v0.80. This is the problem I would have also. I would prefer not having to modify the editor every time I update the language. I would rather use the system as is. The choice is always up to the developer and I respect this. BTW, I agree with you about HBasic. I have tried several versions and always wind up with a crash. The other options for a RAD based BASIC which I know of: Phoenix (Linux version of Envelop for Windows) PureBasic (not a free application) KBasic (not free or yet released. release date: june 2004) There are several BASIC's which can handle GUI development but no RAD available. -- Cheers, Mike T. Linux user #169067 (G)aim ID: Linux Lunatyk From msdarmawan at ...396... Wed Mar 31 04:23:57 2004 From: msdarmawan at ...396... (M Sulchan Darmawan) Date: Wed, 31 Mar 2004 09:23:57 +0700 Subject: [Gambas-user] install error In-Reply-To: <200403301021.18291.sourceforge-raindog2@...94...> References: <158163769738.20040330204822@...396...> <200403301021.18291.sourceforge-raindog2@...94...> Message-ID: <7844366215.20040331092357@...396...> First I try to run it in tmp at home directory, second I try to move it to /usr/src/mandrake9.1rpm but end with no luck. The error message is still the same. is it because of incomplete Mandrake installation CD ? I'm installing mandrake by copying from CD into HDD... or might be src.rpms become corrupt during copy process from desktop to laptop ? need another suggestion. Thanks in Advance. Regards from Indonesia, msdarmawan -EverAfter- Rob, on Tuesday, March 30, 2004, 10:21:18 PM, you wrote: -=-=-=-=-=- Begin Message -=-=-=-=-=- R> On Tuesday 30 March 2004 08:48, M Sulchan Darmawan wrote: >> I have installed gambas on my desktop successfully. But when >> I try to install gambas in my laptop, it gives an error >> message (output.txt). Please show me my mistake. Thank you. >> ps : using Mandrake 9.1 on both desktop and laptop R> I'm guessing it's the src.rpms that are screwing it up.... move R> those to a different directory (or delete them) and try again? R> Rob R> ------------------------------------------------------- R> This SF.Net email is sponsored by: IBM Linux Tutorials R> Free Linux tutorial presented by Daniel Robbins, President and CEO of R> GenToo technologies. Learn everything from fundamentals to system R> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click R> _______________________________________________ R> Gambas-user mailing list R> Gambas-user at lists.sourceforge.net R> https://lists.sourceforge.net/lists/listinfo/gambas-user -=-=-=-=-=- End of Message -=-=-=-=-=- From sourceforge-raindog2 at ...94... Wed Mar 31 05:36:57 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 30 Mar 2004 22:36:57 -0500 Subject: [Gambas-user] install error In-Reply-To: <7844366215.20040331092357@...396...> References: <158163769738.20040330204822@...396...> <200403301021.18291.sourceforge-raindog2@...94...> <7844366215.20040331092357@...396...> Message-ID: <200403302236.57366.sourceforge-raindog2@...94...> On Tuesday 30 March 2004 21:23, M Sulchan Darmawan wrote: > is it because of incomplete Mandrake installation CD ? I'm > installing mandrake by copying from CD into HDD... > or might be src.rpms become corrupt during copy process from > desktop to laptop ? No, what I am saying is DON'T TRY TO INSTALL *.src.rpm, as you don't need them unless you're trying to make your own gambas RPM's. It looks to me like urpmi has a problem when you try to use it to install a src.rpm. In case that wasn't clear, try this: urpmi *86.rpm *noarch.rpm Rob From msdarmawan at ...396... Wed Mar 31 06:43:14 2004 From: msdarmawan at ...396... (M Sulchan Darmawan) Date: Wed, 31 Mar 2004 11:43:14 +0700 Subject: [Gambas-user] install error In-Reply-To: <200403302236.57366.sourceforge-raindog2@...94...> References: <158163769738.20040330204822@...396...> <200403301021.18291.sourceforge-raindog2@...94...> <7844366215.20040331092357@...396...> <200403302236.57366.sourceforge-raindog2@...94...> Message-ID: <7752722961.20040331114314@...396...> sorry for my bad english. I've try what you suggested, but still give the same error : [root at ...405... mandrake9.1rpm]#urpmi *86.rpm *noarch.rpm installing gambas-gui-0.90-1mdk.noarch.rpm Installation failed: gambas == 0.90 is needed by gambas-gui-0.90-1mdk gambas-doc is needed by gambas-gui-0.90-1mdk gambas is needed by gambas-gui-0.90-1mdk [root at ...405... mandrake9.1rpm]# I have no other idea :( regards, msdarmawan -EverAfter- Rob, on Wednesday, March 31, 2004, 10:36:57 AM, you wrote: -=-=-=-=-=- Begin Message -=-=-=-=-=- R> On Tuesday 30 March 2004 21:23, M Sulchan Darmawan wrote: >> is it because of incomplete Mandrake installation CD ? I'm >> installing mandrake by copying from CD into HDD... >> or might be src.rpms become corrupt during copy process from >> desktop to laptop ? R> No, what I am saying is DON'T TRY TO INSTALL *.src.rpm, as you R> don't need them unless you're trying to make your own gambas R> RPM's. It looks to me like urpmi has a problem when you try to R> use it to install a src.rpm. R> In case that wasn't clear, try this: R> urpmi *86.rpm *noarch.rpm R> Rob R> ------------------------------------------------------- R> This SF.Net email is sponsored by: IBM Linux Tutorials R> Free Linux tutorial presented by Daniel Robbins, President and CEO of R> GenToo technologies. Learn everything from fundamentals to system R> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click R> _______________________________________________ R> Gambas-user mailing list R> Gambas-user at lists.sourceforge.net R> https://lists.sourceforge.net/lists/listinfo/gambas-user -=-=-=-=-=- End of Message -=-=-=-=-=- From quazar at ...403... Wed Mar 31 07:20:17 2004 From: quazar at ...403... (BluPhoenyx) Date: Tue, 30 Mar 2004 23:20:17 -0600 Subject: [Gambas-user] install error In-Reply-To: <7752722961.20040331114314@...396...> References: <158163769738.20040330204822@...396...> <200403301021.18291.sourceforge-raindog2@...94...> <7844366215.20040331092357@...396...> <200403302236.57366.sourceforge-raindog2@...94...> <7752722961.20040331114314@...396...> Message-ID: <20040330232017.6fc92f09@...404...> On Wed, 31 Mar 2004 11:43:14 +0700 M Sulchan Darmawan <msdarmawan at ...396...> wrote: > [root at ...405... mandrake9.1rpm]#urpmi *86.rpm *noarch.rpm > installing gambas-gui-0.90-1mdk.noarch.rpm > > Installation failed: > gambas == 0.90 is needed by gambas-gui-0.90-1mdk > gambas-doc is needed by gambas-gui-0.90-1mdk > gambas is needed by gambas-gui-0.90-1mdk > [root at ...405... mandrake9.1rpm]# This error is saying it doesn't have the other Gambas components IE required dependency files. If these files weren't installed by the rpm utility or the urpmi mandrake utility then these utilities won't know their dependency files exist. If you know for sure they exist you could use the nodeps option for rpm. Alternately, try the tar.gz file instead. Download, unpack, ./configure make make install Add any necessary configure options as required for your system. Try the following command to see configure options. ./configure --help | less Keep the original source directory in case you want to uninstall. This can be done with, make uninstall -- Cheers, Mike T. Linux user #169067 (G)aim ID: Linux Lunatyk From ronstk at ...239... Wed Mar 31 07:17:49 2004 From: ronstk at ...239... (ron) Date: Wed, 31 Mar 2004 07:17:49 +0200 Subject: [Gambas-user] install error In-Reply-To: <7752722961.20040331114314@...396...> References: <158163769738.20040330204822@...396...> <200403302236.57366.sourceforge-raindog2@...94...> <7752722961.20040331114314@...396...> Message-ID: <200403310717.50075.ronstk@...239...> On Wednesday 31 March 2004 06:43, M Sulchan Darmawan wrote: > sorry for my bad english. > > I've try what you suggested, but still give the same error : > > [root at ...405... mandrake9.1rpm]#urpmi *86.rpm *noarch.rpm > installing gambas-gui-0.90-1mdk.noarch.rpm > > Installation failed: > gambas == 0.90 is needed by gambas-gui-0.90-1mdk > gambas-doc is needed by gambas-gui-0.90-1mdk > gambas is needed by gambas-gui-0.90-1mdk > [root at ...405... mandrake9.1rpm]# > > I have no other idea :( > > regards, > msdarmawan > -EverAfter- > It looks to me the gambas-gui-0.90-1mdk want some other rpms Do you have all the rpms, for gambas v 0.91 there are 7 rpms in total? In your case as it looks now 0.91 must be 0.90 gambas-0.91-1mdk.i586.rpm gambas-0.91-1mdk.src.rpm gambas-doc-0.91-1mdk.i586.rpm gambas-gui-0.91-1mdk.noarch.rpm gambas-gui-0.91-1mdk.src.rpm libgambas0-0.91-1mdk.i586.rpm libgambas0-devel-0.91-1mdk.i586.rpm for 0.91 you could get them at http://www.kudla.org/ (i found the site down atm) Downloading the tar.gz and do as Mike suggest is also a good solution. Ron From quazar at ...403... Wed Mar 31 07:52:38 2004 From: quazar at ...403... (BluPhoenyx) Date: Tue, 30 Mar 2004 23:52:38 -0600 Subject: [Gambas-user] CONTRIB: About The Editor addin used by Ron In-Reply-To: <20040330202839.64d32307@...404...> References: <200403310240.05395.ronstk@...239...> <20040330202839.64d32307@...404...> Message-ID: <20040330235238.60619d4c@...404...> On Tue, 30 Mar 2004 20:28:39 -0600 BluPhoenyx <quazar at ...403...> wrote: > There are several BASIC's which can handle GUI development but no RAD > available. I forgot to mention the most obvious one, XBasic. -- Cheers, Mike T. Linux user #169067 (G)aim ID: Linux Lunatyk From sourceforge-raindog2 at ...94... Wed Mar 31 07:52:17 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 31 Mar 2004 00:52:17 -0500 Subject: [Gambas-user] install error In-Reply-To: <200403310717.50075.ronstk@...239...> References: <158163769738.20040330204822@...396...> <7752722961.20040331114314@...396...> <200403310717.50075.ronstk@...239...> Message-ID: <200403310052.17213.sourceforge-raindog2@...94...> On Wednesday 31 March 2004 00:17, ron wrote: > It looks to me the gambas-gui-0.90-1mdk want some other rpms > Do you have all the rpms, for gambas v 0.91 there are 7 rpms > in total? In your case as it looks now 0.91 must be 0.90 He does have all the RPM's... he mentioned it in an earlier post. Notice he's using a wildcard with urpmi. For some reason the wildcard only seems to be expanding to one file (looks like the gambas-gui noarch.rpm.) I've never seen that happen before, and would suggest he either install from source as you guys suggest, or visit http://www.thebrix.org.uk for info on setting my site up as an urpmi repository (so you can just urpmi gambas-gui and have it pull all the needed files down.) > for 0.91 you could get them at http://www.kudla.org/ > (i found the site down atm) It's definitely up... I'm typing on it ;) But maybe there was a network outage when you wrote that. Rob From ronstk at ...239... Wed Mar 31 08:39:31 2004 From: ronstk at ...239... (ron) Date: Wed, 31 Mar 2004 08:39:31 +0200 Subject: [Gambas-user] install error In-Reply-To: <200403310052.17213.sourceforge-raindog2@...94...> References: <158163769738.20040330204822@...396...> <200403310717.50075.ronstk@...239...> <200403310052.17213.sourceforge-raindog2@...94...> Message-ID: <200403310839.31780.ronstk@...239...> On Wednesday 31 March 2004 07:52, Rob wrote: > It's definitely up... I'm typing on it ;) But maybe there was a > network outage when you wrote that. > > Rob I think so, just after the mail was out i got it with directory browsing instead a download page. BTW RCS is installed here but i can't get it working for the wiki atm. The files are to cryptic for direct edit and i will first see what happens if I add to it under web based control. Have to learn first how RCS must be setup. Ron From msdarmawan at ...396... Wed Mar 31 09:38:53 2004 From: msdarmawan at ...396... (M Sulchan Darmawan) Date: Wed, 31 Mar 2004 14:38:53 +0700 Subject: [Gambas-user] install error In-Reply-To: <200403310052.17213.sourceforge-raindog2@...94...> References: <158163769738.20040330204822@...396...> <7752722961.20040331114314@...396...> <200403310717.50075.ronstk@...239...> <200403310052.17213.sourceforge-raindog2@...94...> Message-ID: <4263262456.20040331143853@...396...> Dear ron, rob and mike, I have did what you guys suggested (except for v. 0.91). Dealing with the source, I missed some library required by gambas. I'll try to figure out this later. Meanwhile, I will start learning gambas on my desktop PC. for http://www.thebrix.org.uk, do I have to be always connected while urpmi gambas-gui ? Because I used dial-up connection ? But, thanks anyway for your suggestion. I'll post another question if I meet other error ;) bye, msdarmawan -EverAfter- Rob, on Wednesday, March 31, 2004, 12:52:17 PM, you wrote: -=-=-=-=-=- Begin Message -=-=-=-=-=- R> I've never seen that happen before, and would suggest he either R> install from source as you guys suggest, or visit R> http://www.thebrix.org.uk for info on setting my site up as an R> urpmi repository (so you can just urpmi gambas-gui and have it R> pull all the needed files down.) >> for 0.91 you could get them at http://www.kudla.org/ >> (i found the site down atm) R> It's definitely up... I'm typing on it ;) But maybe there was a R> network outage when you wrote that. R> Rob R> ------------------------------------------------------- R> This SF.Net email is sponsored by: IBM Linux Tutorials R> Free Linux tutorial presented by Daniel Robbins, President and CEO of R> GenToo technologies. Learn everything from fundamentals to system R> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click R> _______________________________________________ R> Gambas-user mailing list R> Gambas-user at lists.sourceforge.net R> https://lists.sourceforge.net/lists/listinfo/gambas-user -=-=-=-=-=- End of Message -=-=-=-=-=- From jholm at ...381... Wed Mar 31 20:43:06 2004 From: jholm at ...381... (Jesper Holm) Date: Wed, 31 Mar 2004 20:43:06 +0200 Subject: [Gambas-user] numerical error in Gambas?? In-Reply-To: <20040329121508.M10911@...381...> References: <20040329121508.M10911@...381...> Message-ID: <200403312043.06422.jholm@...381...> Hello again, I have not have any response on my problem. Could anyone please confirm that Gambas DO indeed work on multplication/division? I have a program running which is supposed to simulate a nonlinear laser cavity, so I really hope the problem is with my computer/compiler or something. Please try to: Start a new projet. Make a startup-module, with the code: PRINT 1.663 * (1 / 1.663) and compile and run. On my computer Gambas prints 0.1, where I am supposed to get a 1 ?!?! I know the parenthesis is redundant, but my expression was (considerably) more complicated, and it should work with the parenthesis. The funny thing is that when I change 1.663 to 1.664 I get the correct result. Varying the number a bit in a FOR-loop shows sporadic errors. Can anyone reproduce these results??? Jesper On Monday 29 March 2004 14:27, jholm at ...381... wrote: > Hi everyone, > > I have a rather peculiar problem when I compile the following in Gambas: > > PUBLIC SUB Main() > DIM i AS Float > > FOR i = 1.66 TO 1.70 STEP 0.001 > PRINT i*(1.0/i) > NEXT > > END > > > I get "0.1" values for some of the i values, which is obviously wrong. > > By doing the same in C++ (and compiling with g++): > > > #include <iostream> > using namespace std; > > int main(void) > { for (double i=1.66; i<1.7;i +=0.001){ cout << i*(1/i); }; > return 0; } > > I get the correct stream of 1's. > > I have compiled Gambas directly from source, with no problems in the > configure script (but no db components are compiled). > > Is this just my machine? or have I totally misunderstood that division > operator? > > Jesper > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From listes.godard at ...11... Wed Mar 31 20:55:35 2004 From: listes.godard at ...11... (Laurent Godard) Date: Wed, 31 Mar 2004 20:55:35 +0200 Subject: [Gambas-user] numerical error in Gambas?? In-Reply-To: <200403312043.06422.jholm@...381...> References: <20040329121508.M10911@...381...> <200403312043.06422.jholm@...381...> Message-ID: <406B1427.8000900@...11...> Hi jesper i confirm this i obtain 0,1. (seems to be locale dependant as your result is 0.1, ???) also tried with dim a as float a= 1.0/1.663 PRINT a PRINT 1.663 * a --> same result idem with a= 1.0/1.663 b= 1.663*a PRINT b sounds like a bug Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From sourceforge-raindog2 at ...94... Wed Mar 31 21:03:02 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 31 Mar 2004 14:03:02 -0500 Subject: [Gambas-user] numerical error in Gambas?? In-Reply-To: <200403312043.06422.jholm@...381...> References: <20040329121508.M10911@...381...> <200403312043.06422.jholm@...381...> Message-ID: <200403311403.02440.sourceforge-raindog2@...94...> On Wednesday 31 March 2004 13:43, Jesper Holm wrote: > I have not have any response on my problem. Could anyone > please confirm that Gambas DO indeed work on > multplication/division? Unfortunately, I can confirm your results. Worse, they differ even from yours on my machine, which is an athlon. I added "dim j as float" and "j = (1.0/i)" to the program and made it print i, j and the product: i: 1.66 j: 0.602409638554 i*j: 1 i: 1.661 j: 0.602046959663 i*j: 1 i: 1.662 j: 0.601684717208 i*j: 1 i: 1.663 j: 0.601322910403 i*j: 1 i: 1.664 j: 0.600961538462 i*j: 1 i: 1.665 j: 0.600600600601 i*j: 1 i: 1.666 j: 0.600240096038 i*j: 1 i: 1.667 j: 0.599880023995 i*j: 1 i: 1.668 j: 0.599520383693 i*j: 1 i: 1.669 j: 0.599161174356 i*j: 0.1 i: 1.67 j: 0.59880239521 i*j: 1 i: 1.671 j: 0.598444045482 i*j: 0.1 i: 1.672 j: 0.598086124402 i*j: 1 i: 1.673 j: 0.597728631201 i*j: 1 i: 1.674 j: 0.597371565114 i*j: 1 i: 1.675 j: 0.597014925373 i*j: 0.1 i: 1.676 j: 0.596658711217 i*j: 1 i: 1.677 j: 0.596302921884 i*j: 1 i: 1.678 j: 0.595947556615 i*j: 1 i: 1.679 j: 0.595592614652 i*j: 0.1 i: 1.68 j: 0.595238095238 i*j: 1 i: 1.681 j: 0.59488399762 i*j: 0.1 i: 1.682 j: 0.594530321046 i*j: 1 i: 1.683 j: 0.594177064765 i*j: 0.1 i: 1.684 j: 0.593824228029 i*j: 1 i: 1.685 j: 0.593471810089 i*j: 1 i: 1.686 j: 0.593119810202 i*j: 1 i: 1.687 j: 0.592768227623 i*j: 1 i: 1.688 j: 0.592417061611 i*j: 1 i: 1.689 j: 0.592066311427 i*j: 1 i: 1.69 j: 0.591715976331 i*j: 1 i: 1.691 j: 0.591366055588 i*j: 1 i: 1.692 j: 0.591016548463 i*j: 1 i: 1.693 j: 0.590667454223 i*j: 1 i: 1.694 j: 0.590318772137 i*j: 0.1 i: 1.695 j: 0.589970501475 i*j: 1 i: 1.696 j: 0.589622641509 i*j: 1 i: 1.697 j: 0.589275191514 i*j: 1 i: 1.698 j: 0.588928150766 i*j: 1 i: 1.699 j: 0.58858151854 i*j: 1 i: 1.7 j: 0.588235294118 i*j: 1 Rob From gambas at ...1... Wed Mar 31 21:25:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 31 Mar 2004 21:25:43 +0200 Subject: [Gambas-user] numerical error in Gambas?? In-Reply-To: <200403312043.06422.jholm@...381...> References: <20040329121508.M10911@...381...> <200403312043.06422.jholm@...381...> Message-ID: <200403312125.43928.gambas@...1...> On Wednesday 31 March 2004 20:43, Jesper Holm wrote: > Hello again, > > I have not have any response on my problem. Could anyone please confirm > that Gambas DO indeed work on multplication/division? > This is a bug in the function that displays the number. Wrong character are displayed. But the numerical value calculated is correct. I will try to fix that as soon as possible. Sorry, I'm very busy... Regards, -- Benoit Minisini mailto:gambas at ...1... From jholm at ...381... Wed Mar 31 21:56:55 2004 From: jholm at ...381... (Jesper Holm) Date: Wed, 31 Mar 2004 21:56:55 +0200 Subject: [Gambas-user] numerical error in Gambas?? In-Reply-To: <200403312125.43928.gambas@...1...> References: <20040329121508.M10911@...381...> <200403312043.06422.jholm@...381...> <200403312125.43928.gambas@...1...> Message-ID: <200403312156.55085.jholm@...381...> Ok I see, but it is very important to me, that I know the correct result, and not just Gambas :-) I did some further testing, and it seems that if I use the ROUND() function I get the correct result. PUBLIC SUB Main() DIM a AS Float FOR a = 1.65 TO 1.70 STEP 0.001 PRINT a,a*(1/a),Round(a*(1/a)) NEXT END outputs: 1.65 0.1 1 1.651 1 1 1.652 0.1 1 1.653 1 1 1.654 1 1 1.655 1 1 1.656 1 1 1.657 1 1 1.658 1 1 1.659 1 1 1.66 1 1 1.661 0.1 1 1.662 1 1 1.663 0.1 1 1.664 1 1 1.665 1 1 1.666 1 1 1.667 1 1 1.668 1 1 1.669 1 1 1.67 1 1 1.671 1 1 1.672 1 1 1.673 1 1 1.674 1 1 1.675 1 1 1.676 1 1 1.677 1 1 1.678 1 1 1.679 1 1 1.68 1 1 1.681 1 1 1.682 1 1 1.683 1 1 1.684 1 1 1.685 1 1 1.686 0.1 1 1.687 0.1 1 1.688 1 1 1.689 1 1 1.69 1 1 1.691 0.1 1 1.692 0.1 1 1.693 1 1 1.694 1 1 1.695 1 1 1.696 1 1 1.697 1 1 1.698 0.1 1 1.699 1 1 1.7 1 1 So maybe a fast patch would be to call the ROUND function before displaying? I really hope this cuts it, as I really like using Gambas. Regards, Jesper On Wednesday 31 March 2004 21:25, Benoit Minisini wrote: > On Wednesday 31 March 2004 20:43, Jesper Holm wrote: > > Hello again, > > > > I have not have any response on my problem. Could anyone please confirm > > that Gambas DO indeed work on multplication/division? > > This is a bug in the function that displays the number. Wrong character are > displayed. But the numerical value calculated is correct. > > I will try to fix that as soon as possible. Sorry, I'm very busy... > > Regards, From Karl.Reinl at ...9... Wed Mar 31 20:52:22 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 31 Mar 2004 20:52:22 +0200 Subject: [Gambas-user] Strange 'screen - refresh' at UNDO in IDE-Editor Message-ID: <200403312052.22436.Karl.Reinl@...9...> Salut, snapshot14 and snapshot15 I produced by using UNDO (crtl-Z) in the IDE. What I dit was, I pressed ctrl+V and not ctrl+C in that short File and to get back I used the UNDO Function, the editor works right, but the screen - refresh ditn't, like you can see by the cousers left side in snapshot14 or the cutted lines in snapshot15. Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot14.png Type: image/png Size: 23396 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040331/a99545f5/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot15.png Type: image/png Size: 23393 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040331/a99545f5/attachment-0001.png> From gambas at ...1... Wed Mar 31 22:40:17 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 31 Mar 2004 22:40:17 +0200 Subject: [Gambas-user] Strange 'screen - refresh' at UNDO in IDE-Editor In-Reply-To: <200403312052.22436.Karl.Reinl@...9...> References: <200403312052.22436.Karl.Reinl@...9...> Message-ID: <200403312240.17545.gambas@...1...> On Wednesday 31 March 2004 20:52, Charlie Reinl wrote: > Salut, > > snapshot14 and snapshot15 I produced by using UNDO (crtl-Z) in the IDE. > > What I dit was, I pressed ctrl+V and not ctrl+C in that short File and to > get back I used the UNDO Function, the editor works right, but the screen - > refresh ditn't, like you can see by the cousers left side in snapshot14 or > the cutted lines in snapshot15. > > Amicalement > Charlie There is a bug in the editor that I think I have fixed now. Let's see in the next version! Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Wed Mar 31 22:25:24 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 31 Mar 2004 22:25:24 +0200 Subject: [Gambas-user] Question about Object.delete Message-ID: <200403312225.24837.Karl.Reinl@...9...> Salut, if I create an Object, I can ask 'if Object = NULL then', but what is to do, to have the same state after 'Object.delete', because it is NOT NULL. (see snapshot) Like you can see on the snapshot the project does not make a lot. If the Object = NULL then it creates a TreeView and if it is <> NULL it deletes the Object. But if you have a seconde click on Button2 then you'v get an Error! Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot20.png Type: image/png Size: 39337 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040331/b39a05e1/attachment.png> From gambas at ...1... Wed Mar 31 23:43:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 31 Mar 2004 23:43:54 +0200 Subject: [Gambas-user] Question about Object.delete In-Reply-To: <200403312225.24837.Karl.Reinl@...9...> References: <200403312225.24837.Karl.Reinl@...9...> Message-ID: <200403312343.54804.gambas@...1...> On Wednesday 31 March 2004 22:25, Charlie Reinl wrote: > Salut, > > if I create an Object, I can ask 'if Object = NULL then', but what is to > do, to have the same state after 'Object.delete', because it is NOT NULL. > (see snapshot) > Like you can see on the snapshot the project does not make a lot. > If the Object = NULL then it creates a TreeView and if it is <> NULL it > deletes the Object. > But if you have a seconde click on Button2 then you'v get an Error! > > Amicalement > Charlie The Delete method destroy the control pointed by the Gambas object, but it does NOT destroy the Gambas object itself, and so the variable is not set to null. When the underlying object of a Gambas object is destroyed, the Gambas object becomes "invalid". So, the error message! Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Wed Mar 31 22:40:03 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 31 Mar 2004 22:40:03 +0200 Subject: [Gambas-user] this is not a BUG...... or ??? 1 Message-ID: <200403312240.03498.Karl.Reinl@...9...> Salut, have a look to snapshot17. This is a simple Fform with two Buttons. You see this well done code in the window under that form. Using Button2 you hide Button1. That works very well ! But dit you know !!! While debugging you have the possibility: to open the Toolbox, adding a (here) Button3 , or delete a Button1 snapshot18 And the best if you use Butto2 now, there is NO Error. snapshot19 Amicalement Charlie PS. Sorry but the Screenshot are too big, and ditn't passe -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot17.png Type: image/png Size: 119740 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040331/55949983/attachment.png> From gambas at ...1... Wed Mar 31 23:56:01 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 31 Mar 2004 23:56:01 +0200 Subject: [Gambas-user] numerical error in Gambas?? In-Reply-To: <20040329121508.M10911@...381...> References: <20040329121508.M10911@...381...> Message-ID: <200403312356.01115.gambas@...1...> On Monday 29 March 2004 14:27, jholm at ...381... wrote: > Hi everyone, > > I have a rather peculiar problem when I compile the following in Gambas: > > PUBLIC SUB Main() > DIM i AS Float > > FOR i = 1.66 TO 1.70 STEP 0.001 > PRINT i*(1.0/i) > NEXT > > END > > > I get "0.1" values for some of the i values, which is obviously wrong. The bug is fixed, finally :-) -- Benoit Minisini mailto:gambas at ...1... From na2492 at ...9... Wed Mar 31 23:50:16 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Wed, 31 Mar 2004 23:50:16 00200 Subject: [Gambas-user] Question about Object.delete Message-ID: <406b3d18.6aa.0@...9...> >On Wednesday 31 March 2004 22:25, Charlie Reinl wrote: >> Salut, >> >> if I create an Object, I can ask 'if Object = NULL then', but what is to >> do, to have the same state after 'Object.delete', because it is NOT NULL. >> (see snapshot) >> Like you can see on the snapshot the project does not make a lot. >> If the Object = NULL then it creates a TreeView and if it is <> NULL it >> deletes the Object. >> But if you have a seconde click on Button2 then you'v get an Error! >> >> Amicalement >> Charlie > >The Delete method destroy the control pointed by the Gambas object, but it >does NOT destroy the Gambas object itself, and so the variable is not set to >null. > >When the underlying object of a Gambas object is destroyed, the Gambas object >becomes "invalid". So, the error message! > >Regards, > Salut Benoit, And what is to do in that case ? 'if Object = INVALID then' or what ? Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Wed Mar 31 23:57:11 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 31 Mar 2004 23:57:11 +0200 Subject: [Gambas-user] this is not a BUG...... or ??? 1 In-Reply-To: <200403312240.03498.Karl.Reinl@...9...> References: <200403312240.03498.Karl.Reinl@...9...> Message-ID: <200403312357.11237.gambas@...1...> On Wednesday 31 March 2004 22:40, Charlie Reinl wrote: > Salut, > > have a look to snapshot17. > This is a simple Fform with two Buttons. > You see this well done code in the window under that form. > Using Button2 you hide Button1. > That works very well ! > > But dit you know !!! > > While debugging you have the possibility: > to open the Toolbox, adding a (here) Button3 , or delete a Button1 > snapshot18 > > And the best if you use Butto2 now, there is NO Error. snapshot19 > > Amicalement > Charlie > > PS. Sorry but the Screenshot are too big, and ditn't passe Make Jpeg screenshots, no png, please ! -- Benoit Minisini mailto:gambas at ...1...