Re: [Gambas-user] function to "wrap" a number between upper and lower bounds

2012-12-12 Thread Kevin Fishburne
On 12/12/2012 05:33 PM, Kevin Fishburne wrote: > I need a function like: > > Wrap(number, lowerbound, upperbound) > > such that Wrap(5,1, 3) will return 2. In other words, it "wraps" the > number around the supplied bounds and returns where it "lands". I > believe it would work similarly to assigni

Re: [Gambas-user] function to "wrap" a number between upper and lower bounds

2012-12-12 Thread Benoît Minisini
Le 12/12/2012 23:33, Kevin Fishburne a écrit : > I need a function like: > > Wrap(number, lowerbound, upperbound) > > such that Wrap(5,1, 3) will return 2. In other words, it "wraps" the > number around the supplied bounds and returns where it "lands". I > believe it would work similarly to assigni

[Gambas-user] function to "wrap" a number between upper and lower bounds

2012-12-12 Thread Kevin Fishburne
I need a function like: Wrap(number, lowerbound, upperbound) such that Wrap(5,1, 3) will return 2. In other words, it "wraps" the number around the supplied bounds and returns where it "lands". I believe it would work similarly to assigning a value to a datatype outside its scope, like assigni

Re: [Gambas-user] Feature request: Separator.Foreground

2012-12-12 Thread Tobias Boege
On Wed, 12 Dec 2012, Beno?t Minisini wrote: > Le 10/12/2012 16:47, Tobias Boege a ?crit : > > Hi Benoit, > > > > for aesthetic reasons, we would like to set the line colour of the Separator > > control. AFAICS, Separator.Foreground has no function, is just an inherited > > symbol from Control, so t

Re: [Gambas-user] Drawing sector

2012-12-12 Thread Jussi Lahtinen
> > OK, it should be fixed in revision #5431. You don't have to play with > Paint.LineJoin anymore. > Yes, it works! Thanks! Jussi -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs