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 selecte

Re: [Gambas-user] Hex string to float

2008-12-12 Thread nando
Two Questions: 1) Is the HEX you show below the HEX representation of 4B of a IEEE 4B Float? 2) How do you get these values? (read in from file? something else?) -Fernando -- Original Message --- From: "Ron_1st" To: gambas-user@lists.sourceforge.net Sent: Fri, 12 Dec 2008 19:42:0

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 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 : >> Object Oriented approach is prett

Re: [Gambas-user] Hex string to float

2008-12-12 Thread Ron_1st
PS http://books.google.com/books?id=YMmepn2xCcMC&pg=PA46&lpg=PR14&dq=floating+number+in+binary++z80&output=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

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 : > Object Oriented approach is pretty new to me, so... > > PUBLIC tavk AS Object[2] > > tavk[0] = NEW Object[] > tavk[1] = NEW Object[] > > This works, as I

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. > > > > Thank

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

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 obj

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

2008-12-12 Thread nando
To remove the complicatedness of going from 2 to 4 or 5, skipping 3, you could implement it this way. Let's say you're in Form2 and when NEXT is pressed, it is determined that the next step is 5. You should have two global vars (called 'FROM' and 'DEST') set FROM 2 and set DEST to 5. Then perform

[Gambas-user] OO

2008-12-12 Thread Jussi Lahtinen
Object Oriented approach is pretty new to me, so... PUBLIC tavk AS Object[2] tavk[0] = NEW Object[] tavk[1] = NEW Object[] This works, as I want to create two object arrays. But I need it to be dynamic array of array of objects, is it possible somehow? Other words, I need to add tavk[] obj

[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] 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 thi

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