[Gambas-user] Why I meet "illegal instruction" ?

2009-08-07 Thread Swee Kwang Tan
My Dear, I'm a fortune teller, writing a predict fortune program. dim gan as TienGan 'TienGan is a Class dim dx as ShiXing       'ShiXing is a Class dim fd as FlowData     'FlowData is a Class, it have defined many constant. gan = new TienGan(3, fd) dx = new ShiXing(gan.GetValue(), fd) why "

Re: [Gambas-user] Gambas sticker graphic?

2009-08-07 Thread M0E Lnx
Thanks guys. That works. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application cod

Re: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu

2009-08-07 Thread Benoît Minisini
> 2009/8/7 Benoît Minisini > > > > Here you go! > > > > > > 2009/8/7 Benoît Minisini > > > > These lines are strange: > > > > ... > > checking whether we are using the GNU C compiler... no > > checking whether gcc accepts -g... no > > checking for gcc option to accept ISO C89... unsupported > > .

Re: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu

2009-08-07 Thread Dr. Diesel
2009/8/7 Benoît Minisini > > Here you go! > > > > 2009/8/7 Benoît Minisini > > > > These lines are strange: > > ... > checking whether we are using the GNU C compiler... no > checking whether gcc accepts -g... no > checking for gcc option to accept ISO C89... unsupported > ... > > Did you correc

Re: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu

2009-08-07 Thread Benoît Minisini
> Here you go! > > 2009/8/7 Benoît Minisini > These lines are strange: ... checking whether we are using the GNU C compiler... no checking whether gcc accepts -g... no checking for gcc option to accept ISO C89... unsupported ... Did you correctly install gcc? -- Benoît --

Re: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu

2009-08-07 Thread Dr. Diesel
Here you go! 2009/8/7 Benoît Minisini > > > I asked for the output of './reconf' and './configure'. Without that I > can't > do anything... > > -- > Benoît > > > -- > Let Crystal Reports handle the reporting - Free Crys

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
Speaking of legal stuff. My project is released under the gpl v3. Can the guy who wrote this add licensing so I can use it please? On Aug 7, 2009 4:11 PM, "Benoît Minisini" wrote: > Am Freitag, den 07.08.2009, 22:24 +0200 schrieb Benoît Minisini: > > > Am Freitag, den 07.08.2009,... With your o

Re: [Gambas-user] Reading settings

2009-08-07 Thread Benoît Minisini
> Am Freitag, den 07.08.2009, 22:24 +0200 schrieb Benoît Minisini: > > > Am Freitag, den 07.08.2009, 21:50 +0200 schrieb Benoît Minisini: > > > > > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > > > > > I wonder if this can make it into the main gambas2 build on some > > > > > > futur

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 22:24 +0200 schrieb Benoît Minisini: > > Am Freitag, den 07.08.2009, 21:50 +0200 schrieb Benoît Minisini: > > > > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > > > > I wonder if this can make it into the main gambas2 build on some > > > > > future version.

Re: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu

2009-08-07 Thread Benoît Minisini
> Hi Benoît, > > Sorry for the delay I hate being GMT-6... > > ./reconf returned with nothing > > n...@arachne:~/gambas3_svn> ./reconf > n...@arachne:~/gambas3_svn> ls > > > The config.log is attached. I have gone over it and don't see what the > issue might be but that could just due to a lack of

Re: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu

2009-08-07 Thread Dr. Diesel
On Fri, Aug 7, 2009 at 2:52 PM, Nick Rathke wrote > > >>> >>> Here is the same error block as the Ubuntu system(s) >>> >>> /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share >>> -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la >>> -rpath /usr/local/lib/gambas3 g

[Gambas-user] Gambas sticker graphic?

2009-08-07 Thread M0E Lnx
I think I recall somebody posting a gambas sticker here a while back. I seem to have lost that email. Can someone shoot it out this way if they have it please? Thanks -- Let Crystal Reports handle the reporting - Free Cry

Re: [Gambas-user] Reading settings

2009-08-07 Thread Benoît Minisini
> Am Freitag, den 07.08.2009, 21:50 +0200 schrieb Benoît Minisini: > > > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > > > I wonder if this can make it into the main gambas2 build on some > > > > future version. Would be great > > > > > > Salut, > > > > > > it works in THAT case, bec

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 21:50 +0200 schrieb Benoît Minisini: > > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > > I wonder if this can make it into the main gambas2 build on some > > > future version. Would be great > > > > Salut, > > > > it works in THAT case, because no new OBJE

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
It works if I import it's Main.module also so this is what I did 1) Disable the gb.settings from project -> components 2) import Settings.class and _SettingsKeys from gb.settings-bp 3) import Main.module from gb.settings-bp My app works now as it should --

Re: [Gambas-user] Reading settings

2009-08-07 Thread Benoît Minisini
> So if I grab the Settings class from this project and import it into > my project, then I dont need to use the native gb.settings class > > Will that suffice? > what do I do with the Main module and the _Settings class? > Which _Settings class? You have two classes: Settings, and _SettingsKey.

[Gambas-user] Gambas in Science ?

2009-08-07 Thread Nick Rathke
Hi Gambas users, I was wondering if any one is using Gambas for Science related work ? Would Gambas modules fo OpenMPI, OpenMP, CUDA be useful ? How about BLAS or Lapack ? I am not sure how doable any of these are, but I might try to put some of these together for my own use -- Nick Rath

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
So if I grab the Settings class from this project and import it into my project, then I dont need to use the native gb.settings class Will that suffice? what do I do with the Main module and the _Settings class? -- Let Cr

Re: [Gambas-user] Reading settings

2009-08-07 Thread Benoît Minisini
> Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > I wonder if this can make it into the main gambas2 build on some > > future version. Would be great > > Salut, > > it works in THAT case, because no new OBJECTS which do not exist in > gambas2 are used. > > Like Cars, they exists now si

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > I wonder if this can make it into the main gambas2 build on some > future version. Would be great > Salut, it works in THAT case, because no new OBJECTS which do not exist in gambas2 are used. Like Cars, they exists now since more then

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
I wonder if this can make it into the main gambas2 build on some future version. Would be great -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integratio

Re: [Gambas-user] Compiling Gambas 3 svn on Ubuntu

2009-08-07 Thread Nick Rathke
Hi Ricardo could you send the output of libtool ---version so I could match your version of 1.5 ? That would be a big help . -- Nick Rathke Scientific Computing and Imaging Institute Sr. Systems Administrator n...@sci.utah.edu www.sci.utah.edu 801-587-9933 801-557-3832 "I came I saw I made it

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 13:26 -0500 schrieb M0E Lnx: > Before I install it to the user component directory, do I need to > clear the string in Main.Main? > or does that not matter if I leave the srings in there? > Also, when using in my app, do I need both the gb.settings and the > gb.settings-

Re: [Gambas-user] Compiling Gambas 3 svn on Ubuntu

2009-08-07 Thread Ricardo Díaz Martín
I confirm that Gambas2 from svn doesn't compile without having to downgrade to libtool 1.5 in ubunto 9.04 32 bits out of box. If you make downgrade of libtool compile with no problems. Regards 2009/8/6 Benoît Minisini > > Nick Rathke wrote: > > > > Sorry about that it looks like copy/paste did

[Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu

2009-08-07 Thread Nick Rathke
Hi Benoît, Sorry for the delay I hate being GMT-6... ./reconf returned with nothing n...@arachne:~/gambas3_svn> ./reconf n...@arachne:~/gambas3_svn> ls The config.log is attached. I have gone over it and don't see what the issue might be but that could just due to a lack of coffee Than

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
Before I install it to the user component directory, do I need to clear the string in Main.Main? or does that not matter if I leave the srings in there? Also, when using in my app, do I need both the gb.settings and the gb.settings-bp or just the gb.settings-bp? ---

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
Never mind, I figured it out It looks like what I need -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
I tried to follow your instructions. When loading the project, te gambas IDE complained about gb.settings missing, so I clicked the OK button. went to Main.Main() sub and changed the path to an existing settings file, and the strings to something else following your format. when I debug it, it ter

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 12:24 -0500 schrieb M0E Lnx: > How do i bring this over to my gambas2 installation? > Salut, this is a gambas2 project to create a component. So after unpacking : - open the IDE - open the project "gb.settings-bp" - for testing change the Strings in Main.module/PUBLI

Re: [Gambas-user] GTK key events bug

2009-08-07 Thread Carlos Prieto López
2009/8/6 Benoît Minisini > > > > Summary: In a graphical application using GTK, a key event produced > > > > > > by a > > > > > > > control is captured by the parent, but key event information > > > > > > provided by > > > > > > > the Key class is not available. > > > > > > > > How to reproduce:

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
How do i bring this over to my gambas2 installation? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you d

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Freitag, den 07.08.2009, 09:34 -0500 schrieb M0E Lnx: > Is this supposed to give the gb.settings the functionality of gb3 get > keys thing? Yes because it is the gb.settings from gb3, look in Main Charlie. -- Let Cry

[Gambas-user] compiling gambas2 on opensuse 11.1 x64

2009-08-07 Thread kobolds
I try many times try to compile gambas2 from source . I left with 4 warning to solve . please help me http://www.nabble.com/file/p24868373/log.txt log.txt - gb.corba libACE.so - from acroread , libomniORB4.so, libomniDynamic4.so - gb.db.firebird install from opensuse database resposit

Re: [Gambas-user] settings INPUT <> settings OUTPUT

2009-08-07 Thread Benoît Minisini
> Am Dienstag, den 04.08.2009, 02:04 +0200 schrieb Benoît Minisini: > > > Salut Benoit, > > > > > > this line was written by settings > > > > > > Descript="'that was only yesterday' a wonderful,\\nnever before seen > > > way to design a\\nprinting template\\nhaving \\nfun with it\\nnew" > > > > > >

Re: [Gambas-user] Reading settings

2009-08-07 Thread M0E Lnx
Is this supposed to give the gb.settings the functionality of gb3 get keys thing? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployme

Re: [Gambas-user] Reading settings

2009-08-07 Thread Charlie Reinl
Am Montag, den 03.08.2009, 20:10 +0200 schrieb Benoît Minisini: > > Guys, I've been working with gb.settings on a couple of my apps in the > > past, but I have a question. > > > > Is there any way to sort of browse through the stored settings? I > > guess to see what settings are defined in the set

Re: [Gambas-user] Java for Webkit?

2009-08-07 Thread Benoît Minisini
> On Fri, 7 Aug 2009 11:14:07 pm Benoît Minisini wrote: > > > > > I noted in the browser example, no java? > > > > > > > > > > WebSettings seems to have mention of these but I can't set them. > > > > > > > > > > Any help appreciated. > > > > > > > > > > Thanks. > > > > > > > > > > richard > > > >

Re: [Gambas-user] Java for Webkit?

2009-08-07 Thread richard terry
On Fri, 7 Aug 2009 11:14:07 pm Benoît Minisini wrote: > > > > I noted in the browser example, no java? > > > > > > > > WebSettings seems to have mention of these but I can't set them. > > > > > > > > Any help appreciated. > > > > > > > > Thanks. > > > > > > > > richard > > > > > > WebSettings[WebS

[Gambas-user] Text formatting on textlabel (gb.gtk)

2009-08-07 Thread M0E Lnx
Hi guys, Using gambas2-2.15.2 and gb.gtk for my app Is there any way to insert a bullet character into a textlabel's .text value? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simp

Re: [Gambas-user] GTK key events bug

2009-08-07 Thread Benoît Minisini
> > > > I attach the project with the error (pruebagtk.tar.gz). Type anything on > > the textbox, and the error will show (this was a GTK graphic > > application). > > > > The project inside prueba.tar.gz was created as QT graphic application; > > when typing on the textbox, the key code is printed

Re: [Gambas-user] Java for Webkit?

2009-08-07 Thread Benoît Minisini
> > > I noted in the browser example, no java? > > > > > > WebSettings seems to have mention of these but I can't set them. > > > > > > Any help appreciated. > > > > > > Thanks. > > > > > > richard > > > > WebSettings[WebSettings.JavaEnabled] = TRUE > > > > does not work? > > Indeed, it seems to n

Re: [Gambas-user] COPY does not always copy chgrp and chown

2009-08-07 Thread Benoît Minisini
> Just found this (Gambas 2 project) when copying several students from > one class into another. For each student, there are about 6 files to be > copied from one directory into another. The first one will always get > standard chgrp and chown of the application's user. The other files > SOMETIMES

[Gambas-user] COPY does not always copy chgrp and chown

2009-08-07 Thread Rolf-Werner Eilert
Just found this (Gambas 2 project) when copying several students from one class into another. For each student, there are about 6 files to be copied from one directory into another. The first one will always get standard chgrp and chown of the application's user. The other files SOMETIMES are c