Re: [Gambas-user] [Fwd: My gambas stoped working...]
arbelmichal wrote: ubuntu 8.10 gambas2 Arbel On Thu, 2009-04-23 at 11:06 +0800, Werner wrote: arbelmichal wrote: Subject: My gambas stoped working... From: arbelmichal arbelmic...@gezer.org.il Date: Sun, 19 Apr 2009 23:20:35 +0300 To: gambas-user@lists.sourceforge.net To: gambas-user@lists.sourceforge.net Content-Type: text/plain Message-ID: 1240172433.22317.5.ca...@arbelmichal-desktop MIME-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Hi Please read this thread and see if you can help me... I got project that I am working on and I hed to stop beacuase my Gambas died... Thanks Arbel http://www.linuxbasic.net/index.php?topic=466.0 What distribution/version are you using? Which version of Gambas? gambas 2.what? From what I understand, it had been working before, is that correct? -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] [Fwd: My gambas stoped working...]
Ithink gambas 2.12 Arbel On Thu, 2009-04-23 at 15:08 +0800, Werner wrote: arbelmichal wrote: ubuntu 8.10 gambas2 Arbel On Thu, 2009-04-23 at 11:06 +0800, Werner wrote: arbelmichal wrote: Subject: My gambas stoped working... From: arbelmichal arbelmic...@gezer.org.il Date: Sun, 19 Apr 2009 23:20:35 +0300 To: gambas-user@lists.sourceforge.net To: gambas-user@lists.sourceforge.net Content-Type: text/plain Message-ID: 1240172433.22317.5.ca...@arbelmichal-desktop MIME-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Hi Please read this thread and see if you can help me... I got project that I am working on and I hed to stop beacuase my Gambas died... Thanks Arbel http://www.linuxbasic.net/index.php?topic=466.0 What distribution/version are you using? Which version of Gambas? gambas 2.what? From what I understand, it had been working before, is that correct? -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] [Fwd: My gambas stoped working...]
On Thursday 23 April 2009, arbelmichal wrote: Ithink gambas 2.12 Arbel On Thu, 2009-04-23 at 15:08 +0800, Werner wrote: arbelmichal wrote: ubuntu 8.10 gambas2 Arbel On Thu, 2009-04-23 at 11:06 +0800, Werner wrote: arbelmichal wrote: Subject: My gambas stoped working... From: arbelmichal arbelmic...@gezer.org.il Date: Sun, 19 Apr 2009 23:20:35 +0300 To: gambas-user@lists.sourceforge.net To: gambas-user@lists.sourceforge.net Content-Type: text/plain Message-ID: 1240172433.22317.5.ca...@arbelmichal-desktop MIME-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Hi Please read this thread and see if you can help me... I got project that I am working on and I hed to stop beacuase my Gambas died... Thanks Arbel http://www.linuxbasic.net/index.php?topic=466.0 What distribution/version are you using? Which version of Gambas? gambas 2.what? From what I understand, it had been working before, is that correct? -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Arggg. My crystal bowl is broken. Best regards, Ron_1st -- A: Delete the text you reply on. Q: What to do to get my post on top? --- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --- A: Top-posting. Q: What is the most annoying thing in e-mail? -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] build failing 1931
The last few builds from 1929 on seem to be failing on my machine here: Is this just my problem? Did you do a ./reconf ./configure -C ? -- Benoît -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Logical operators
If I write: IF expr1 OR expr2 THEN If expr1 evaluates to TRUE does the OR return TRUE or does it still go on to evaluate expr2? -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas Server Pages mysql
Thanks Benoit that works like a charm :) Regards Dimitris 2009/4/22 Benoît Minisini gam...@users.sourceforge.net Hey guys, With the example below Gambas Server Pages were introduced. My question is: 1) how would I achieve a connection to a mysql database or any database for that matter? 2) where in the code below would I put the necessary statements? 3) if no direct reference to any database objects can be made is the alternative, by lets say, using an external gambas module or some other trick? --8--- --- #!/usr/bin/env gbw2 % DIM sEnv AS String % !-- Variable declaration must come before any HTML -- html h2CGI script environmental variables/h2 table border=1 cellspacing=0 cellpadding=2 tr th align=leftName/th th align=leftValue/th /tr % FOR EACH sEnv IN Application.Env % tr valign=top td%= sEnv %/td td%= Application.Env[sEnv] % /td /tr % NEXT % /table /html --8--- --- Thanks in advance Regards Dimitris You must add: % USE gb.db % at the beginning of the page, and then you can access any database. Regards, -- Benoît -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Format Text
HEllo, how can i format a text like this 1 Auto 20.12.2008 20,15 2 Fahrrad 30.12.20053,22 3 Bus 12.05.2000 22,44 4 Auto2 15.04.2088 23,55 5 Auto3 15.04.2088 6 Bus2 15.04.2088 7 LKW 15.04.2088 8 Bus 15.04.2088 9 Auto4 15.04.2088 10 Bus 5 15.04.2088 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Format Text
How about using something like space(5) between each string? On Apr 23, 2009 9:16 AM, Stefan Miefert smief...@kikxxl.de wrote: HEllo, how can i format a text like this 1 Auto 20.12.2008 20,15 2 Fahrrad 30.12.20053,22 3 Bus 12.05.2000 22,44 4 Auto2 15.04.2088 23,55 5 Auto3 15.04.2088 6 Bus2 15.04.2088 7 LKW 15.04.2088 8 Bus 15.04.2088 9 Auto4 15.04.2088 10 Bus 5 15.04.2088 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Format Text
Hello, but the strings have different lengts:) That couldt work:) -Ursprüngliche Nachricht- Von: M0E Lnx [mailto:m0e@gmail.com] Gesendet: Donnerstag, 23. April 2009 16:32 An: mailing list for gambas users Betreff: Re: [Gambas-user] Format Text How about using something like space(5) between each string? On Apr 23, 2009 9:16 AM, Stefan Miefert smief...@kikxxl.de wrote: HEllo, how can i format a text like this 1 Auto 20.12.2008 20,15 2 Fahrrad 30.12.20053,22 3 Bus 12.05.2000 22,44 4 Auto2 15.04.2088 23,55 5 Auto3 15.04.2088 6 Bus2 15.04.2088 7 LKW 15.04.2088 8 Bus 15.04.2088 9 Auto4 15.04.2088 10 Bus 5 15.04.2088 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Format Text
Stefan Miefert írta: HEllo, how can i format a text like this 1 Auto 20.12.2008 20,15 2 Fahrrad 30.12.20053,22 3 Bus 12.05.2000 22,44 4 Auto2 15.04.2088 23,55 5 Auto3 15.04.2088 6 Bus2 15.04.2088 7 LKW 15.04.2088 8 Bus 15.04.2088 9 Auto4 15.04.2088 10 Bus 5 15.04.2088 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user You have to do it manually! The basics: 1. The length of a row of text is for example m - you can use property Len(yourstring) 2. The length of numbering 3 (if you intend to have less than a thousand rows) 3. The length of the first gap: If you want your vehicles to start at position x then the length of gap is: x- Len(numbering). You can insert gaps with firstgap=String$(x-Len(numbering), ) 4. Now you have to plan the position of dates, let it be w. You will have the second gap between the vehicles and dates Can be calculated with w-x-Len(vehicle) etc. .. If you have done your calculus you'll have to create strings for each row like this: string[i]=numbers[i] firstgap[i] vehicles[i] secondgap[i] dates[i] ... -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Format Text
Istn very smart but i do something like this now Test space(30 - len(Test)) Alles how I can But how can I align something like number like this 22.55 1.22 133.22 Must be like this 22.55 1.22 133.22 -Ursprüngliche Nachricht- Von: Mészáros Csaba [mailto:mohar...@gmail.com] Gesendet: Donnerstag, 23. April 2009 16:45 An: mailing list for gambas users Betreff: Re: [Gambas-user] Format Text Stefan Miefert írta: HEllo, how can i format a text like this 1 Auto 20.12.2008 20,15 2 Fahrrad 30.12.20053,22 3 Bus 12.05.2000 22,44 4 Auto2 15.04.2088 23,55 5 Auto3 15.04.2088 6 Bus2 15.04.2088 7 LKW 15.04.2088 8 Bus 15.04.2088 9 Auto4 15.04.2088 10 Bus 5 15.04.2088 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user You have to do it manually! The basics: 1. The length of a row of text is for example m - you can use property Len(yourstring) 2. The length of numbering 3 (if you intend to have less than a thousand rows) 3. The length of the first gap: If you want your vehicles to start at position x then the length of gap is: x- Len(numbering). You can insert gaps with firstgap=String$(x-Len(numbering), ) 4. Now you have to plan the position of dates, let it be w. You will have the second gap between the vehicles and dates Can be calculated with w-x-Len(vehicle) etc. .. If you have done your calculus you'll have to create strings for each row like this: string[i]=numbers[i] firstgap[i] vehicles[i] secondgap[i] dates[i] ... -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] [Fwd: My gambas stoped working...]
When I tried to build it from a source file, and then run it' i had lots of missing packages. I removed the files you told me to remove and then tried to install from the synaptic maneger. Still the same error. Maybe there is a flag or somthing that wont let these files to be copied to my computer... I don't whant to reinstall ubuntu and loose everything... Arbel On Thu, 2009-04-23 at 17:28 +0300, Jussi Lahtinen wrote: To clarify, you compiled Gambas 2.12 from source and installed it without any errors. Only error you got is; ERROR: #2: Cannot load class 'Project': Unable to load class file when you are trying to start Gambas. Have I understand correctly? Did you do this; rm -f /usr/local/bin/gbx2 /usr/local/bin/gbc2 /usr/local/bin/gba2 /usr/local/bin/gbi2 rm -rf /usr/local/lib/gambas2 rm -rf /usr/local/share/gambas2 before new try? Jussi On Thu, Apr 23, 2009 at 11:37, Ron_1st ron...@tiscali.nl wrote: On Thursday 23 April 2009, arbelmichal wrote: Ithink gambas 2.12 Arbel On Thu, 2009-04-23 at 15:08 +0800, Werner wrote: arbelmichal wrote: ubuntu 8.10 gambas2 Arbel On Thu, 2009-04-23 at 11:06 +0800, Werner wrote: arbelmichal wrote: Subject: My gambas stoped working... From: arbelmichal arbelmic...@gezer.org.il Date: Sun, 19 Apr 2009 23:20:35 +0300 To: gambas-user@lists.sourceforge.net To: gambas-user@lists.sourceforge.net Content-Type: text/plain Message-ID: 1240172433.22317.5.ca...@arbelmichal-desktop MIME-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Hi Please read this thread and see if you can help me... I got project that I am working on and I hed to stop beacuase my Gambas died... Thanks Arbel http://www.linuxbasic.net/index.php?topic=466.0 What distribution/version are you using? Which version of Gambas? gambas 2.what? From what I understand, it had been working before, is that correct? -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Arggg. My crystal bowl is broken. Best regards, Ron_1st -- A: Delete the text you reply on. Q: What to do to get my post on top? --- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --- A: Top-posting. Q: What is the most annoying thing in e-mail? -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM)
Re: [Gambas-user] Format Text
HEllo, is the same:) I cant see any differences. Isnt their any formatting function in gambas like other languages habe? my problem is that I want to mail it via a textmail 123.22 1.22 34.11 Must be this x= space 123.22 xx1.22 x34.11 Just do it the other way round. If txt$ contains the text: space(30 - len(txt$)) txt$ or better (if umlauts are contained) space(30 - string.len(txt$)) txt$ -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Logical operators
If I write: IF expr1 OR expr2 THEN If expr1 evaluates to TRUE does the OR return TRUE or does it still go on to evaluate expr2? Operators always evaluate all their operands. But you can use the syntax IF expr1 OR IF expr2 THEN to evaluate expr2 only if expr1 is false. Regards, -- Benoît -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] [Fwd: My gambas stoped working...]
With synaptic I find only Gambas 2.7. Are using some different repository..? 1. Do COMPLETE removal with synaptic, make sure that all related to gambas is gone. 2. Then just for sure: rm -f /usr/local/bin/gbx2 /usr/local/bin/gbc2 /usr/local/bin/gba2/usr/local/bin/gbi2 rm -rf /usr/local/lib/gambas2 rm -rf /usr/local/share/gambas2 3. Then Places -- Search for files -- Look in folder: file system -- gambas If you find something related to gambas (which is not your own project of course!!!), remove it. You might have alternate install path..? Remove them also. 4. Then install gambas2 from Applications -- Add/Remove. Do you have access to all needed folders and files (root pass)? There should not be anything left from gambas, no flags etc. AFAIK. Next thing is to install all needed libraries again... Jussi On Thu, Apr 23, 2009 at 18:57, arbelmichal arbelmic...@gezer.org.il wrote: When I tried to build it from a source file, and then run it' i had lots of missing packages. I removed the files you told me to remove and then tried to install from the synaptic maneger. Still the same error. Maybe there is a flag or somthing that wont let these files to be copied to my computer... I don't whant to reinstall ubuntu and loose everything... Arbel On Thu, 2009-04-23 at 17:28 +0300, Jussi Lahtinen wrote: To clarify, you compiled Gambas 2.12 from source and installed it without any errors. Only error you got is; ERROR: #2: Cannot load class 'Project': Unable to load class file when you are trying to start Gambas. Have I understand correctly? Did you do this; rm -f /usr/local/bin/gbx2 /usr/local/bin/gbc2 /usr/local/bin/gba2 /usr/local/bin/gbi2 rm -rf /usr/local/lib/gambas2 rm -rf /usr/local/share/gambas2 before new try? Jussi On Thu, Apr 23, 2009 at 11:37, Ron_1st ron...@tiscali.nl wrote: On Thursday 23 April 2009, arbelmichal wrote: Ithink gambas 2.12 Arbel On Thu, 2009-04-23 at 15:08 +0800, Werner wrote: arbelmichal wrote: ubuntu 8.10 gambas2 Arbel On Thu, 2009-04-23 at 11:06 +0800, Werner wrote: arbelmichal wrote: Subject: My gambas stoped working... From: arbelmichal arbelmic...@gezer.org.il Date: Sun, 19 Apr 2009 23:20:35 +0300 To: gambas-user@lists.sourceforge.net To: gambas-user@lists.sourceforge.net Content-Type: text/plain Message-ID: 1240172433.22317.5.ca...@arbelmichal-desktop MIME-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Hi Please read this thread and see if you can help me... I got project that I am working on and I hed to stop beacuase my Gambas died... Thanks Arbel http://www.linuxbasic.net/index.php?topic=466.0 What distribution/version are you using? Which version of Gambas? gambas 2.what? From what I understand, it had been working before, is that correct? -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Arggg. My crystal bowl is broken. Best regards, Ron_1st -- A: Delete the text you reply on. Q: What to do to get my post on top? --- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --- A: Top-posting. Q: What is the most annoying thing in e-mail? -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___
Re: [Gambas-user] Gambas-user Digest, Vol 35, Issue 54
Hello Charlie, this comment makes me very happy and pushes me to continue with the project :-) For a programmer it's allways a somewhat difficult situation to 'put the trousers down' and show what is behind the sceenes, but I was so happy with the result, that I had to make it public. * WITHOUT GAMBAS IT WOULD NOT BE POSSIBLE * Yesterday I wrote the code for printing programs and X,Y,Z registers, I will continue today and possibly publish that possibly on weekend in the next release. (Are there any problems installing on different distributions?) The next steps are: * The HP 9101A Extented Memory (FMT commands..) * HP 9125A Plotter (screen plotter with printing) * Program library (see: source../Programs) This helps me to understand the Gambas components i.e. drawing pictures, using SHELL commands etc. and it makes fun! Your question about the truth of the emulation can be answered this way. I have an HP9100A on my desk since 1979 and I tried to make the emulator as close as possible to the real machine. There are still some differences, but I will remove them step by step. On the other hand I take the freedom to add features when they are nice to have and make the programming more comfortable like the Program Listing Menu. There are other differences like the possibility to program the record and enter buttons which gives one the option to program a load program command - subroutines! Generally it's difficult to emulate a machine which is build up from discrete electronic parts as to HP is. There is no digital chip inside. Only flip-flops, transistors, diodes, resistors, magnetic core memory and a 16-fold-multilayer plantine as 'rom'. So the emulation emulates the 'behaviour' not the discrete parts. There is a diagostic program of the real HP which calculates every function possible on keyboard. (see: ../Programs within project folder) I needed one week to get the emulator working in a way that it computes the same results, The only differencs other than the display font is that real display shows 1 2.0 3 and not 1 2 3 as the emulator does. I will fix that when I have understood why the real machine does show this display. The handling of Zeros is a difficult part within the emulator because the HP does it in a complete other way as common pocket calculators do it. I have the HP9100A program library and use that to test the emulator results - so far I did not find an error :-) The file extension .hpf is registered at http://www.fileinfo.com/extension/hpf but the maintainer thought it is related to Windows ;-) I have a question to Benoit: The emulator is recursiv when working in run mode: State Module: (..) CASE 47 ' Continue (..) calls State.ChangeRun within State.ChangeRun. I suppose this will fill up the return stack and may be a problem with long running programs. For that reason I took the largest possible stack size of 64k within the project options. Is that correct? There is an other problem with button feedback when a program runs. So I took a 'forced delay' of every 711th program step to give time to the interpreter to catch the button click of a STOP button. Without that delay I could start the program but not stop it any more: Example: unstoppable program HP 9100A Program Listing - created: 04/23/2009 20:11:55.151 ___ File: Untiteld Line Code Instruction 0.001 1 0.133 + 0.244 GO TO()() 0.300 0 0.400 0 0.546 END This is a counting loop, which can not be stoped by the STOP button, if there is no 711-delay build in. Finally when I switch the emulator into OFF mode and then back into POWER ON the left switch called DEGREES/RADIANS shows a dottet square like an artefact. I don't know why? There is an error in the POWER OFF mode, because you can change the stack during that mode - which should not be the case - but that's easy to fix and will be in the next release. best regards Andreas Mueller Am Donnerstag, den 23.04.2009, 03:07 + schrieb gambas-user-requ...@lists.sourceforge.net: Am Mittwoch, den 22.04.2009, 01:24 +0200 schrieb Andreas M?ller: 8--- Btw. if someone wants to have an emulation of the first PC aka HP9100A one can find that on my homepage under software. http://www.poipoi.de/software Comments are welcome! But don't punish me for the code - I know it's a terrible mixture somewhere between object and spagetti code ;- but I have started with Gambas and the project this month. 8--- Salut, just know, Spagetti Code is just bad
Re: [Gambas-user] [Fwd: My gambas stoped working...]
It worked!!! thanks Arbel On Thu, 2009-04-23 at 20:29 +0300, Jussi Lahtinen wrote: With synaptic I find only Gambas 2.7. Are using some different repository..? 1. Do COMPLETE removal with synaptic, make sure that all related to gambas is gone. 2. Then just for sure: rm -f /usr/local/bin/gbx2 /usr/local/bin/gbc2 /usr/local/bin/gba2/usr/local/bin/gbi2 rm -rf /usr/local/lib/gambas2 rm -rf /usr/local/share/gambas2 3. Then Places -- Search for files -- Look in folder: file system -- gambas If you find something related to gambas (which is not your own project of course!!!), remove it. You might have alternate install path..? Remove them also. 4. Then install gambas2 from Applications -- Add/Remove. Do you have access to all needed folders and files (root pass)? There should not be anything left from gambas, no flags etc. AFAIK. Next thing is to install all needed libraries again... Jussi On Thu, Apr 23, 2009 at 18:57, arbelmichal arbelmic...@gezer.org.il wrote: When I tried to build it from a source file, and then run it' i had lots of missing packages. I removed the files you told me to remove and then tried to install from the synaptic maneger. Still the same error. Maybe there is a flag or somthing that wont let these files to be copied to my computer... I don't whant to reinstall ubuntu and loose everything... Arbel On Thu, 2009-04-23 at 17:28 +0300, Jussi Lahtinen wrote: To clarify, you compiled Gambas 2.12 from source and installed it without any errors. Only error you got is; ERROR: #2: Cannot load class 'Project': Unable to load class file when you are trying to start Gambas. Have I understand correctly? Did you do this; rm -f /usr/local/bin/gbx2 /usr/local/bin/gbc2 /usr/local/bin/gba2 /usr/local/bin/gbi2 rm -rf /usr/local/lib/gambas2 rm -rf /usr/local/share/gambas2 before new try? Jussi On Thu, Apr 23, 2009 at 11:37, Ron_1st ron...@tiscali.nl wrote: On Thursday 23 April 2009, arbelmichal wrote: Ithink gambas 2.12 Arbel On Thu, 2009-04-23 at 15:08 +0800, Werner wrote: arbelmichal wrote: ubuntu 8.10 gambas2 Arbel On Thu, 2009-04-23 at 11:06 +0800, Werner wrote: arbelmichal wrote: Subject: My gambas stoped working... From: arbelmichal arbelmic...@gezer.org.il Date: Sun, 19 Apr 2009 23:20:35 +0300 To: gambas-user@lists.sourceforge.net To: gambas-user@lists.sourceforge.net Content-Type: text/plain Message-ID: 1240172433.22317.5.ca...@arbelmichal-desktop MIME-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Hi Please read this thread and see if you can help me... I got project that I am working on and I hed to stop beacuase my Gambas died... Thanks Arbel http://www.linuxbasic.net/index.php?topic=466.0 What distribution/version are you using? Which version of Gambas? gambas 2.what? From what I understand, it had been working before, is that correct? -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Arggg. My crystal bowl is broken. Best regards, Ron_1st -- A: Delete the text you reply on. Q: What to do to get my post on top? --- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --- A: Top-posting. Q: What is the most annoying thing in e-mail? -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and
[Gambas-user] Obtaining a list of system printers
Hi, I need to be able to browse a list of system printers and wondered how one obtained these. Regards richard -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user