[Gambas-user] For...Next loop efficiency question

2012-02-22 Thread Kevin Fishburne
If the ranges of a For...Next loop require calculations, are they slower than a loop which doesn't? In other words, is the first example below faster than the second? For Counter = 1 To 100 Next For Counter = 100 / 100 + 1 - 1 To 100 / 100 + 1 - 1 + 99 Next Does it make any difference if the c

[Gambas-user] Paint.arc does not proceed counter-clockwise during Length radians

2012-02-22 Thread Ru Vuott
Hello, in Gambas 3 by using positive values in Length parameter of "Paint.Arc" I noticed that it does not proceed counter-clockwise, but clockwise ! I obtain counter-clockwise, if I use "negative" values. ??? Vuott --

Re: [Gambas-user] How to make Class file to Library for use in other Gambas applications

2012-02-22 Thread Willy Raets
> naming it gambas3-vendor-name makes little sense. > shouldn't that be gambas2-vendor-name? Is it a typo? > Gambas puts gambas2 there by itself when making the package. Reading the documentation gave me the idea I had to name it manually some where (instead of it being done automatic) Problem s

Re: [Gambas-user] How to make Class file to Library for use in other Gambas applications

2012-02-22 Thread Willy Raets
On do, 2012-02-23 at 02:18 +0100, Willy Raets wrote: > On wo, 2012-02-22 at 19:34 +0100, Willy Raets wrote: > > > Now back to Gambas 2, see if what Bruce explained can be done in real > > > life :-) Bit more work the Gambas 2 way, doing a component. And I see > > > some distribution problems there

Re: [Gambas-user] How to make Class file to Library for use in other Gambas applications

2012-02-22 Thread Willy Raets
On wo, 2012-02-22 at 19:34 +0100, Willy Raets wrote: > > Now back to Gambas 2, see if what Bruce explained can be done in real > > life :-) Bit more work the Gambas 2 way, doing a component. And I see > > some distribution problems there as well. How to install such a library > > along with your ap

Re: [Gambas-user] String array empty after SUB (Gambas 2)

2012-02-22 Thread GMail
On Wed, 2012-02-22 at 19:49 +0200, Jussi Lahtinen wrote: > Just quick thought... maybe this "felder = feld.Copy()" gives new object > reference feld to felder. > And because feld is declared locally, the it is null after the sub and so > is also felder. > > Perhaps you need to do "felder = feld.Co

Re: [Gambas-user] How to make Class file to Library for use in other Gambas applications

2012-02-22 Thread Willy Raets
> Now back to Gambas 2, see if what Bruce explained can be done in real > life :-) Bit more work the Gambas 2 way, doing a component. And I see > some distribution problems there as well. How to install such a library > along with your app that needs the libary? > Well Bruce, I must say your mem

Re: [Gambas-user] String array empty after SUB (Gambas 2)

2012-02-22 Thread Jussi Lahtinen
Just quick thought... maybe this "felder = feld.Copy()" gives new object reference feld to felder. And because feld is declared locally, the it is null after the sub and so is also felder. Perhaps you need to do "felder = feld.Copy()" manually with for each... Jussi On Wed, Feb 22, 2012 at 18

[Gambas-user] String array empty after SUB (Gambas 2)

2012-02-22 Thread Rolf-Werner Eilert
Now, this is a strange one :-) and I really have no idea what goes wrong here. I've got a dialog which loads a list of names. I'm keeping such SUBs that deal with files in a module called ldsv (brief for load-save). The dialog's part is simple, "ls" is the listbox: PRIVATE felder AS NEW String

Re: [Gambas-user] How to make Class file to Library for use in other Gambas applications

2012-02-22 Thread Willy Raets
On wo, 2012-02-22 at 11:52 +1030, GMail wrote: > On Wed, 2012-02-22 at 01:03 +0100, Willy Raets wrote: > > Hi all, > > > > I've been searching and reading my butt of on how to make a library with > > Gambas 2 for Gambas 2. > > > First, gambas 2 does not have "libraries", what you are creating is