[Gambas-user] install gambas

2011-08-31 Thread JUHASZ Robert
Hello, I have a very basic problem: I cannot install the latest version of gambas2. It works from the ubuntu software center but it is not up-to-date (and I don't know if it's possible to update the version installed from the rep). I already had problem to install from source code before but I wa

Re: [Gambas-user] Using EXEC

2011-08-31 Thread Stephen Bungay
On 08/31/2011 09:01 PM, Benoît Minisini wrote: >> EXEC is a wonderful thing, lighter than SHELL, but it needs things >> passed as elements of a string array and that is making for some ugly code. >> >> Say for example you want to play two videos as a playlist in VLC, in >> exec the command might lo

Re: [Gambas-user] Using EXEC

2011-08-31 Thread Stephen Bungay
On 08/31/2011 09:01 PM, Benoît Minisini wrote: >> EXEC is a wonderful thing, lighter than SHELL, but it needs things >> passed as elements of a string array and that is making for some ugly code. >> >> Say for example you want to play two videos as a playlist in VLC, in >> exec the command might lo

Re: [Gambas-user] Using EXEC

2011-08-31 Thread Benoît Minisini
> EXEC is a wonderful thing, lighter than SHELL, but it needs things > passed as elements of a string array and that is making for some ugly code. > > Say for example you want to play two videos as a playlist in VLC, in > exec the command might look like this; > > EXEC["vlc","--intf","rc", "Video

[Gambas-user] Using EXEC

2011-08-31 Thread Stephen Bungay
EXEC is a wonderful thing, lighter than SHELL, but it needs things passed as elements of a string array and that is making for some ugly code. Say for example you want to play two videos as a playlist in VLC, in exec the command might look like this; EXEC["vlc","--intf","rc", "Video1.avi","Vide

Re: [Gambas-user] Issue 95 in gambas: FOR-optimization not correct

2011-08-31 Thread gambas
Updates: Status: Fixed Comment #2 on issue 95 by benoit.m...@gmail.com: FOR-optimization not correct http://code.google.com/p/gambas/issues/detail?id=95 Fixed in revision #4068. -- Special Offer -- Download Ar

Re: [Gambas-user] Issue 94 in gambas: A For-statement can store an Integer in a Byte/Short.

2011-08-31 Thread gambas
Updates: Status: Fixed Comment #5 on issue 94 by benoit.m...@gmail.com: A For-statement can store an Integer in a Byte/Short. http://code.google.com/p/gambas/issues/detail?id=94 Fixed in revision #4068. -- Spe

Re: [Gambas-user] Issue 95 in gambas: FOR-optimization not correct

2011-08-31 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 95 by benoit.m...@gmail.com: FOR-optimization not correct http://code.google.com/p/gambas/issues/detail?id=95 (No comment was entered for this change.)

Re: [Gambas-user] Issue 94 in gambas: A For-statement can store an Integer in a Byte/Short.

2011-08-31 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #4 on issue 94 by benoit.m...@gmail.com: A For-statement can store an Integer in a Byte/Short. http://code.google.com/p/gambas/issues/detail?id=94 (No comment was entered for this change.) ---

Re: [Gambas-user] Issue 94 in gambas: A For-statement can store an Integer in a Byte/Short.

2011-08-31 Thread gambas
Comment #3 on issue 94 by emil.len...@gmail.com: A For-statement can store an Integer in a Byte/Short. http://code.google.com/p/gambas/issues/detail?id=94 When I think about it, if one sees the loop as for(unsigned char i = 1; i<=255; i++){ }, the loop never terminates. But if the loop in Gam

Re: [Gambas-user] Issue 94 in gambas: A For-statement can store an Integer in a Byte/Short.

2011-08-31 Thread gambas
Comment #2 on issue 94 by emil.len...@gmail.com: A For-statement can store an Integer in a Byte/Short. http://code.google.com/p/gambas/issues/detail?id=94 But i is a Byte, and the valid range for a byte is 0 to 255. So it cannot contain 256. -

Re: [Gambas-user] Issue 94 in gambas: A For-statement can store an Integer in a Byte/Short.

2011-08-31 Thread gambas
Comment #1 on issue 94 by math.e...@t-online.de: A For-statement can store an Integer in a Byte/Short. http://code.google.com/p/gambas/issues/detail?id=94 Of course, if you write For i = 1 To 255 Next Print i it will run through the loop and do nothing, then print 256. Try with For i = 1 To 25

[Gambas-user] Issue 95 in gambas: FOR-optimization not correct

2011-08-31 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 95 by emil.len...@gmail.com: FOR-optimization not correct http://code.google.com/p/gambas/issues/detail?id=95 1) Describe the problem. Every time a FOR begins, the code is

Re: [Gambas-user] gb3: using string as stream for sequential write operations of arbitrary datatypes

2011-08-31 Thread Kevin Fishburne
On 08/31/2011 01:21 AM, nando wrote: > What type of connection are you using ? > UDP. I think using MEMORY as Tobias suggested (http://gambasdoc.org/help/lang/memory?v3) might be a decent solution. I should be able to determine the length in bytes of the variables to be written to the UDP sock

[Gambas-user] Issue 94 in gambas: A For-statement can store an Integer in a Byte/Short.

2011-08-31 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 94 by emil.len...@gmail.com: A For-statement can store an Integer in a Byte/Short. http://code.google.com/p/gambas/issues/detail?id=94 1) Describe the problem. Like the s

Re: [Gambas-user] Error in example: WebCam 1.0.4

2011-08-31 Thread Jussi Lahtinen
Last time I was bit too hurry to test this through and give enough details, sorry! My camera could be found from /dev/video0. For some reason IDE can't pause execution, so I'm not sure what happens. It just seem to freeze to search for device. However, last messages are: " gambas v4l2: Device is

Re: [Gambas-user] Something ain't right. Still trying to control VLC.

2011-08-31 Thread Stephen Bungay
On 08/31/2011 10:01 AM, Benoît Minisini wrote: >> Launching it from the command line cured the problem :) . This means no >> dependency hell with CEntOS and Gambas 3 (although all future versions >> will use Gambas 3). Much obliged for pointing me in the right direction >> Benoit. >> >> Regards >>

Re: [Gambas-user] Fixing bug tracker issue 78

2011-08-31 Thread Benoît Minisini
> On Wed, 2011-08-31 at 03:13 +0200, Benoît Minisini wrote: > > > Sorry, I'm really panicky, I meant method overriding not polymorphism. > > > Bruce > > > > This change only makes the interpreter raise an error instead of > > eventually segfaulting, by preventing something that is forbidden : > >

Re: [Gambas-user] Something ain't right. Still trying to control VLC.

2011-08-31 Thread Benoît Minisini
> Launching it from the command line cured the problem :) . This means no > dependency hell with CEntOS and Gambas 3 (although all future versions > will use Gambas 3). Much obliged for pointing me in the right direction > Benoit. > > Regards > Steve. > Something that should be explained in the

Re: [Gambas-user] Something ain't right. Still trying to control VLC.

2011-08-31 Thread Stephen Bungay
On 08/31/2011 09:22 AM, Benoît Minisini wrote: >> On 08/30/2011 09:34 PM, Benoît Minisini wrote: Please forgive my rambling here... but if anyone can explain these results I'd really like to hear from them. Consistently getting Inconsistent results... which is consistency..

Re: [Gambas-user] Something ain't right. Still trying to control VLC.

2011-08-31 Thread Benoît Minisini
> On 08/30/2011 09:34 PM, Benoît Minisini wrote: > >> Please forgive my rambling here... but if anyone can explain these > >> results I'd really like to hear from them. > >> > >> Consistently getting Inconsistent results... which is consistency.. > >> ARRR! > >> > >> Send command strings

Re: [Gambas-user] Something ain't right. Still trying to control VLC.

2011-08-31 Thread Stephen Bungay
On 08/30/2011 09:34 PM, Benoît Minisini wrote: >> Please forgive my rambling here... but if anyone can explain these >> results I'd really like to hear from them. >> >> Consistently getting Inconsistent results... which is consistency.. >> ARRR! >> >> Send command strings to the stream that

Re: [Gambas-user] Gambas 2 and mysql bin-log

2011-08-31 Thread Ron
On 30-8-2011 21:18, Benoît Minisini wrote: >> I need that the "insert" statement to be logged in the binary log. >> > I have no idea why it is not logged. I didn't know there was a "mysql binary > log", and I don't know how it works. > > Try to set 'DB.Debug = True' to see what SQL queries are sent