[Gambas-user] Rendering an object as one of its classifier's subtypes.

2012-07-28 Thread Bruce
I have a situation where objects created later need to be "rendered" (cast?, reclassifed?) as one of many specialised versions of those objects. In the following code all went fine until I added the check to ensure that the specialised class is a descendant of the original class. Now it fails whe

Re: [Gambas-user] Gambas 3 compilation instructions on specific distributions

2012-07-28 Thread William Cabrera
Hi, in Debian Wheezy, for component GB.pdf, the libpoppler-dev change to libpoppler-private-dev -- William Cabrera http://willicab.gnu.org.ve 2012/7/28 Benoît Minisini > Hi, > > I have rewrote the Ubuntu and ArchLinux specific installation > instructions on the wiki. I moved the old pages

Re: [Gambas-user] VB to Gambas conversion question

2012-07-28 Thread Emil Lenngren
You should write "Dim t As New Float[25]" instead of "Dim t[25] As Float" if you don't have special reasons. /Emil 2012/7/28 wally > Thank you very much. > > so if i use > VB: ReDim t#(0 To 25) > GB: Dim t[25] as Float > > VB: If (i < 10) Then t(I) = 0# > GB: If(i < 10) then t[i

Re: [Gambas-user] VB to Gambas conversion question

2012-07-28 Thread wally
Thank you very much. so if i use VB: ReDim t#(0 To 25) GB: Dim t[25] as Float VB: If (i < 10) Then t(I) = 0# GB: If(i < 10) then t[i] = 0.0 all will be nice, correct ? On Saturday 28 July 2012 15:10:17 nando wrote: > Not a cast > It is Forced Double at compile time. > > 0 is

Re: [Gambas-user] VB to Gambas conversion question

2012-07-28 Thread nando
Not a cast It is Forced Double at compile time. 0 is usually interpreted when compiled as 0 (integer) 0.0 would be interpreted as non-integer 0# same thing but forces the representation as double. Reason behind doing this: if you have a double array t#(0..25) when you do t#(I) = 0 The zero co

Re: [Gambas-user] Raspberry pi question

2012-07-28 Thread Benoît Minisini
> Le 28/07/2012 19:24, Christer Johansson a écrit : >> >> A guy named Gordon have already made a C library named WiringPi but I >> have no >> clue on how to use it from within Gambas3 or if it's even possible? >> >>https://projects.drogon.net/raspberry-pi/wiringpi/ >> This is a more interestin

Re: [Gambas-user] Raspberry pi question

2012-07-28 Thread Benoît Minisini
Le 28/07/2012 19:24, Christer Johansson a écrit : > >> Le 26/07/2012 10:53, fulippo_fuli...@tiscali.it a écrit : >>> Hi >>> Somebody know how to use gpio port with Gambas 2/3 on Raspberry pi >>> >>> in python is possible there is som libraries >>> >>> thank's >>> >> >> I don't know what python does

Re: [Gambas-user] Raspberry pi question

2012-07-28 Thread Christer Johansson
> Le 26/07/2012 10:53, fulippo_fuli...@tiscali.it a écrit : > > Hi > > Somebody know how to use gpio port with Gambas 2/3 on Raspberry pi > > > > in python is possible there is som libraries > > > > thank's > > > > I don't know what python does. > > According to: > > http://www.haifux.org

Re: [Gambas-user] Packets for gb.media with Mint 13 - Maya

2012-07-28 Thread Ru Vuott
> > > > The same ones. Apparently the name didn't change in Ubuntu > Precise. > > Regards, > > -- > Benoît Minisini > > Well, thanks, Benoît Vuott -- Live Security Virtual Conference Exclusive live event will cov

Re: [Gambas-user] JIT bug 7

2012-07-28 Thread Emil Lenngren
Can't really do anything right now. I am in Venice now on Vacation :) I come home in 8 days or something. If you want, you can post the llvm output, gdb stacktrace or whatever... /Emil 2012/7/28 Jussi Lahtinen > Before continuing my vacation again in countryside... > Here is some JIT bug. See

[Gambas-user] Issue 291 in gambas: The Error.Propagate method doesn't work

2012-07-28 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 291 by svit...@gmail.com: The Error.Propagate method doesn't work http://code.google.com/p/gambas/issues/detail?id=291 1) Describe the problem. Problems using the "Error.Pr

[Gambas-user] VB to Gambas conversion question

2012-07-28 Thread wally
what does "0#" mean in VB ? e.g. ReDim t#(0 To 25) If (i < 10) Then t(I) = 0# is this some kind of casting zero to Double ? thanks in advance wally -- Live Security Virtual Conference Exclusive live event will cove

Re: [Gambas-user] SVN 4995 Segmentation fault

2012-07-28 Thread wally
On Saturday 28 July 2012 14:28:07 Benoît Minisini wrote: > Le 28/07/2012 11:53, wally a écrit : > > At revision 4995. > > > > ~> gambas3 > > gb.qt4: warning: unable to load Qt translation: en_US.UTF-8 > > Stock.Themes_Read.614: #45: File or directory does not exist > > 1: Project.Main.276 > > Segm

Re: [Gambas-user] SVN 4995 Segmentation fault

2012-07-28 Thread Benoît Minisini
Le 28/07/2012 11:53, wally a écrit : > > At revision 4995. > > ~> gambas3 > gb.qt4: warning: unable to load Qt translation: en_US.UTF-8 > Stock.Themes_Read.614: #45: File or directory does not exist > 1: Project.Main.276 > Segmentation fault > > OpenSuse 12.1 > > Any ideas ? > The bug should be fi

Re: [Gambas-user] SVN 4995 Segmentation fault

2012-07-28 Thread wally
Bruce, thank you for the info, but it does not solve the problem here. wally On Saturday 28 July 2012 21:16:41 Bruce wrote: > On Sat, 2012-07-28 at 13:26 +0200, Benoît Minisini wrote: > > Le 28/07/2012 13:24, Benoît Minisini a écrit : > > > Le 28/07/2012 13:13, wally a écrit : > > >> here the

Re: [Gambas-user] Distribution availability: it's gets better! (NOT REALLY!)

2012-07-28 Thread Benoît Minisini
Le 28/07/2012 13:59, Benoît Minisini a écrit : > Le 28/07/2012 13:57, Benoît Minisini a écrit : >> Le 28/07/2012 13:42, Jesus a écrit : >>> El 28/07/12 10:55, charlesg escribió: Gambas 3.2.1 has appeared in Lubuntu 12.04 repository. Hopefully that means Ubuntu as well. >>> Not i

Re: [Gambas-user] Distribution availability: it's gets better! (NOT REALLY!)

2012-07-28 Thread Benoît Minisini
Le 28/07/2012 13:57, Benoît Minisini a écrit : > Le 28/07/2012 13:42, Jesus a écrit : >> El 28/07/12 10:55, charlesg escribió: >>> >>> Gambas 3.2.1 has appeared in Lubuntu 12.04 repository. Hopefully that means >>> Ubuntu as well. >>> >> Not in Precise, but in Quantal -it seems. So we'll wait until

Re: [Gambas-user] Distribution availability: it's gets better! (NOT REALLY!)

2012-07-28 Thread Benoît Minisini
Le 28/07/2012 13:42, Jesus a écrit : > El 28/07/12 10:55, charlesg escribió: >> >> Gambas 3.2.1 has appeared in Lubuntu 12.04 repository. Hopefully that means >> Ubuntu as well. >> > Not in Precise, but in Quantal -it seems. So we'll wait until October. > > http://packages.ubuntu.com/precise/devel/

[Gambas-user] Gambas 3 compilation instructions on specific distributions

2012-07-28 Thread Benoît Minisini
Hi, I have rewrote the Ubuntu and ArchLinux specific installation instructions on the wiki. I moved the old pages so that they are yet available. Please tell me if you find something wrong in them (especially when it is not Ubuntu as it is my current distribution in use). And please tell me a

Re: [Gambas-user] SVN 4995 Segmentation fault

2012-07-28 Thread Bruce
On Sat, 2012-07-28 at 13:26 +0200, Benoît Minisini wrote: > Le 28/07/2012 13:24, Benoît Minisini a écrit : > > Le 28/07/2012 13:13, wally a écrit : > >> > >> here the gdb output > >> > > > > Can you compile Gambas with no optimization? > > > > $ make clean && make "CFLAGS=-O0 -g -ggdb" "CXXFLAGS=-O

Re: [Gambas-user] Distribution availability: it's gets better!

2012-07-28 Thread Jesus
El 28/07/12 10:55, charlesg escribió: > > Gambas 3.2.1 has appeared in Lubuntu 12.04 repository. Hopefully that means > Ubuntu as well. > Not in Precise, but in Quantal -it seems. So we'll wait until October. http://packages.ubuntu.com/precise/devel/gambas3 http://packages.ubuntu.com/quantal/deve

Re: [Gambas-user] SVN 4995 Segmentation fault

2012-07-28 Thread Benoît Minisini
Le 28/07/2012 13:24, Benoît Minisini a écrit : > Le 28/07/2012 13:13, wally a écrit : >> >> here the gdb output >> > > Can you compile Gambas with no optimization? > > $ make clean && make "CFLAGS=-O0 -g -ggdb" "CXXFLAGS=-O0 -g -ggdb" > > And send me the backtrace again (the full one if possible, n

Re: [Gambas-user] SVN 4995 Segmentation fault

2012-07-28 Thread Benoît Minisini
Le 28/07/2012 13:13, wally a écrit : > > here the gdb output > Can you compile Gambas with no optimization? $ make clean && make "CFLAGS=-O0 -g -ggdb" "CXXFLAGS=-O0 -g -ggdb" And send me the backtrace again (the full one if possible, not just the ten first lines). And you should try the valgri

Re: [Gambas-user] Packets for gb.media with Mint 13 - Maya

2012-07-28 Thread Benoît Minisini
Le 26/07/2012 17:00, Ru Vuott a écrit : > Hello, > > when I had Linux Mint 12, having to install *gb.media*, here someone > suggested me to download these packets: > > libgstreamer0.10-dev > libgstreamer-plugins-base0.10-dev > > > Now, I upload my distro: Mint 13 - Maya - Ubuntu "Precise". I'ld li

Re: [Gambas-user] SVN 4995 Segmentation fault

2012-07-28 Thread wally
here the gdb output On Saturday 28 July 2012 12:36:11 Benoît Minisini wrote: > Le 28/07/2012 11:53, wally a écrit : > > At revision 4995. > > > > ~> gambas3 > > gb.qt4: warning: unable to load Qt translation: en_US.UTF-8 > > Stock.Themes_Read.614: #45: File or directory does not exist > > 1: Pro

Re: [Gambas-user] Distribution availability: it's gets better!

2012-07-28 Thread Benoît Minisini
Le 28/07/2012 10:55, charlesg a écrit : > > Gambas 3.2.1 has appeared in Lubuntu 12.04 repository. Hopefully that means > Ubuntu as well. > Finally! :-) -- Benoît Minisini -- Live Security Virtual Conference Exclusive l

Re: [Gambas-user] SVN 4995 Segmentation fault

2012-07-28 Thread Benoît Minisini
Le 28/07/2012 11:53, wally a écrit : > > At revision 4995. > > ~> gambas3 > gb.qt4: warning: unable to load Qt translation: en_US.UTF-8 > Stock.Themes_Read.614: #45: File or directory does not exist > 1: Project.Main.276 > Segmentation fault > > OpenSuse 12.1 > > Any ideas ? > Can you proceed as e

[Gambas-user] SVN 4995 Segmentation fault

2012-07-28 Thread wally
At revision 4995. ~> gambas3 gb.qt4: warning: unable to load Qt translation: en_US.UTF-8 Stock.Themes_Read.614: #45: File or directory does not exist 1: Project.Main.276 Segmentation fault OpenSuse 12.1 Any ideas ? ---

[Gambas-user] Distribution availability: it's gets better!

2012-07-28 Thread charlesg
Gambas 3.2.1 has appeared in Lubuntu 12.04 repository. Hopefully that means Ubuntu as well. -- View this message in context: http://old.nabble.com/Distribution-availability%3A-it%27s-gets-better%21-tp34223758p34223758.html Sent from the gambas-user mailing list archive at Nabble.com. -