[Gambas-user] Application not working afer upgrading to 3.2

2012-07-12 Thread sundar j
I have made my application in gambas 3.1.1 under ubuntu 12.04 (using PPA of Kendek). The installation package is also made from gambas 3.3.1. Tested it on live system (and installed) in all *buntus and worked fine. After Kendek upgraded Gambas to 3.2 my  application  is not working properly. It

Re: [Gambas-user] Application not working afer upgrading to 3.2

2012-07-12 Thread Benoît Minisini
Le 12/07/2012 11:30, sundar j a écrit : > I have made my application in gambas 3.1.1 under ubuntu 12.04 (using > PPA of Kendek). The installation package is also made from gambas > 3.3.1. Tested it on live system (and installed) in all *buntus and > worked fine. After Kendek upgraded Gambas to 3.2

[Gambas-user] DIV

2012-07-12 Thread Jussi Lahtinen
? 4.3 DIV 2.1 Type mismatch: wanted Integer, got Float instead Why it take only integers? Jussi -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has

Re: [Gambas-user] DIV

2012-07-12 Thread Tobias Boege
On Thu, 12 Jul 2012, Jussi Lahtinen wrote: > ? 4.3 DIV 2.1 > Type mismatch: wanted Integer, got Float instead > > Why it take only integers? > > > Jussi > -- > Live Security Virtual Conference > Exclusive live event will

Re: [Gambas-user] DIV

2012-07-12 Thread Jussi Lahtinen
> Doc states, DIV is a synonymous for \ which is the integer division > operator. > Documentation says "Calculates the quotient of two Integer numbers, rounding down". And my question was, in other words, why it calculates quotient for only integer numbers? Output is always integer, but why input

Re: [Gambas-user] DIV

2012-07-12 Thread Benoît Minisini
Le 12/07/2012 17:44, Jussi Lahtinen a écrit : >> Doc states, DIV is a synonymous for \ which is the integer division >> operator. >> > > > Documentation says "Calculates the quotient of two Integer numbers, > rounding down". > And my question was, in other words, why it calculates quotient for only

Re: [Gambas-user] DIV

2012-07-12 Thread Jussi Lahtinen
> This is for performance reasons: '\' (or DIV) operator is faster than '/'. > OK. > If you want to use DIV like '/', just use '/'! > "/" is different thing, it doesn't give integer quotient. To get integer quotient from floats I use "iQuotient = Floor( a / b )". Jussi --

Re: [Gambas-user] DIV

2012-07-12 Thread Benoît Minisini
Le 12/07/2012 18:52, Jussi Lahtinen a écrit : >> This is for performance reasons: '\' (or DIV) operator is faster than '/'. >> > > OK. > > > >> If you want to use DIV like '/', just use '/'! >> > > "/" is different thing, it doesn't give integer quotient. > To get integer quotient from floats I use

[Gambas-user] Issue 272 in gambas: Progress bars lack the "pulse" property for intermediate progress bar

2012-07-12 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 272 by roman.ve...@gmail.com: Progress bars lack the "pulse" property for intermediate progress bar http://code.google.com/p/gambas/issues/detail?id=272 Progress bars are

Re: [Gambas-user] Issue 2 in gambas: No native gambas for Windows platforms

2012-07-12 Thread gambas
Comment #10 on issue 2 by roman.ve...@gmail.com: No native gambas for Windows platforms http://code.google.com/p/gambas/issues/detail?id=2 Gambas currently uses a lot of XOrg stuff, which is how it works on Mac (not natively under whatever Mac uses, Aqua or something) - it's also the reason

[Gambas-user] Raises the event

2012-07-12 Thread Ivan Kern
Hi to all, I have made my own gambas component in gambas2 under ubuntu 10.04. It works well till I want raise an event. I always get an error message "Cannot raise event in static function." The code is like this: 'Gambas class file EXPORT STATIC PUBLIC $A AS INTEGER STATIC