Re: [Gambas-user] Integer Bug

2008-12-12 Thread Benoit Minisini
On vendredi 12 décembre 2008, L Jumadi wrote: I found integer bug in gambas. Please try ?54*4100 in gambas console. The result is negative, maybe because 4100 is converted to integer rather than long integer. I can solve it by use manual converting to ?54*clng(4100) but I think it

Re: [Gambas-user] Hex string to float

2008-12-12 Thread Ron
Ron schreef: Hi, Anyone have a routine to convert a hex string to a float? Like these: B6FBEB3A = -0.07507766895287204 3C5D2104 = 0.01349664106965065 Find lots of vb code, but those use copymem functions. Thanks in advance! To answer my own question: I ended up with this so far:

[Gambas-user] Problem with gambas wiki web site

2008-12-12 Thread Benoit Minisini
Hi all, Apparently gambasdoc.org does not answer anymore, nor kudla.org, the domain where you can write to Rob Kudla, the gambasdoc.org server owner. If you read that Rob, please tell us what happens! -- Benoit Minisini

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-12 Thread M0E Lnx
My idea was a little different, but I think I got it In my idea, I use a panel or workspace in FMain as a host for the other windows. The navigation is always handled from FMain, and not from each child window, which is what makes it complicated for me. I had created a model that used the

Re: [Gambas-user] Problems with libtool

2008-12-12 Thread Epíleg
En/na Tchekov.Net ha escrit: Dear all, need help on compiling Gambas. Have tried to install Gambas 2.9 on Xubuntu in Virtual Machine. Evrth. went good, but I have overseen the version warning for the libtool (I was really dumb ...), so the compiling was not successfull (libtool 2.2.24

Re: [Gambas-user] Hex string to float

2008-12-12 Thread Ron_1st
On Friday 12 December 2008, Ron wrote: Ron schreef: Hi, Anyone have a routine to convert a hex string to a float? Like these: B6FBEB3A = -0.07507766895287204 3C5D2104 = 0.01349664106965065 Find lots of vb code, but those use copymem functions. Thanks in advance! To

Re: [Gambas-user] OO

2008-12-12 Thread Fabien Bodard
dim i as integer dim tavk as new object[] dim o as object[] for i = 0 to 4 o = new object[] tavk.add(o) next 2008/12/12 Jussi Lahtinen jussi.lahti...@gmail.com: Object Oriented approach is pretty new to me, so... PUBLIC tavk AS Object[2] tavk[0] = NEW Object[] tavk[1] = NEW Object[]

Re: [Gambas-user] Hex string to float

2008-12-12 Thread Ron_1st
PS http://books.google.com/books?id=YMmepn2xCcMCpg=PA46lpg=PR14dq=floating+number+in+binary++z80output=html page is 46 DATA REPRESENTATION. I did not trust the notation of sign exponent mantisa and found another source about it. There was my orginal sequence of sign., mantisa, exponent. As far

Re: [Gambas-user] OO

2008-12-12 Thread Jussi Lahtinen
Thanks! Now the solution looks obvious. Jussi On Fri, Dec 12, 2008 at 8:55 PM, Fabien Bodard gambas...@gmail.com wrote: dim i as integer dim tavk as new object[] dim o as object[] for i = 0 to 4 o = new object[] tavk.add(o) next 2008/12/12 Jussi Lahtinen jussi.lahti...@gmail.com:

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-12 Thread Fabien Bodard
forward need to be hardcoded, backward need to use an object array and the function pop/push and it will work with that. so 1-2-3 -4 it's 2 who know if you must or not go to the 3 or 4 so the next button need to drive that statiquely. it may work in all case. when next is selected