Re: [Gambas-user] Error.Backtrace

2014-01-16 Thread Ian Haywood
On 17/01/14 10:11, Benoît Minisini wrote: > Le 16/01/2014 23:12, Ian Haywood a écrit : > For a TRY that does not call functions, it is not computed, so you get > the previous stack backtrace. not computing it is OK (as the combination of Error.Text and Error.Where gives us all the information any

[Gambas-user] Matrices byref

2014-01-16 Thread martin p cristia
I need this global matrix: Public MatRigGlo[12, 12] As Float that in some cases it needs to be [3,3] or [6,6] I pass that matrix to a C library: Public Extern M8simetrizarSQ(matriz As Float[], lOrden As Long) and the call is M8simetrizarSQ(MatRigGlo, 12) wich works perfectly. But its inefic

Re: [Gambas-user] Error.Backtrace

2014-01-16 Thread Benoît Minisini
Le 16/01/2014 23:12, Ian Haywood a écrit : > I have discovered that Error.Backtrace is not always correctly set. > if an error occurs in a TRY expression Error.Backtrace remains with the > previous error. > Error.Where and Error.Text are set correctly. > > This caused us a lot of problems as we log

[Gambas-user] Error.Backtrace

2014-01-16 Thread Ian Haywood
I have discovered that Error.Backtrace is not always correctly set. if an error occurs in a TRY expression Error.Backtrace remains with the previous error. Error.Where and Error.Text are set correctly. This caused us a lot of problems as we log Error.backtrace to find errors on user systems. I at

Re: [Gambas-user] sdl Draw event overhead is killing frame rate

2014-01-16 Thread Benoît Minisini
Le 16/01/2014 22:40, Benoît Minisini a écrit : > Le 16/01/2014 06:03, Kevin Fishburne a écrit : >> >> The results are in, and they don't tell me much. :( I attached the >> updated test project, which includes the test results in comments at the >> top. They are: >> >> ' No Stop Event | No Geometry

Re: [Gambas-user] sdl Draw event overhead is killing frame rate

2014-01-16 Thread Benoît Minisini
Le 16/01/2014 06:03, Kevin Fishburne a écrit : > > The results are in, and they don't tell me much. :( I attached the > updated test project, which includes the test results in comments at the > top. They are: > > ' No Stop Event | No Geometry | Binary NVIDIA driver | 236 FPS > ' Stop Event| No

Re: [Gambas-user] Starting a Process and forgetting about it

2014-01-16 Thread Tobias Boege
On Sun, 12 Jan 2014, Bruce wrote: > > Good morning, > > > > Did this ever get taken further? (Another long post sorry!) > > Indeed... > > [...] I'll certainly find time to respond on this topic more elaborately than this: Maybe you want to create a new session using setsid() with your programs

Re: [Gambas-user] Issue 501 in gambas: IDE does only run code when started from console as superuser

2014-01-16 Thread gambas
Updates: Status: NeedsInfo Labels: -Version-3.5.2 Version-3.5.0 Comment #1 on issue 501 by benoit.m...@gmail.com: IDE does only run code when started from console as superuser http://code.google.com/p/gambas/issues/detail?id=501 I guess you compiled Gambas incorrectly, but you d

[Gambas-user] Issue 501 in gambas: IDE does only run code when started from console as superuser

2014-01-16 Thread gambas
Status: New Owner: Labels: Version-3.5.2 Type-Bug Priority-Medium Usability Dist-Gentoo Arch-Any Desktop-XFCE GUI-Any New issue 501 by xpistian...@gmail.com: IDE does only run code when started from console as superuser http://code.google.com/p/gambas/issues/detail?id=501 1) Gambas start

Re: [Gambas-user] Printing text vertically (using printing or gb.report)

2014-01-16 Thread Rolf-Werner Eilert
Am 16.01.2014 10:55, schrieb Willy Raets: > On Thu, 2014-01-16 at 10:44 +0100, Rolf-Werner Eilert wrote: >> >> Am 16.01.2014 10:30, schrieb Willy Raets: >>> On Tue, 2014-01-14 at 10:04 +0100, Willy Raets wrote: Hi all, I have a Dymo Label writer at work and need to print address la

Re: [Gambas-user] Printing text vertically (using printing or gb.report)

2014-01-16 Thread Willy Raets
On Thu, 2014-01-16 at 10:44 +0100, Rolf-Werner Eilert wrote: > > Am 16.01.2014 10:30, schrieb Willy Raets: > > On Tue, 2014-01-14 at 10:04 +0100, Willy Raets wrote: > >> Hi all, > >> > >> I have a Dymo Label writer at work and need to print address labels. > >> Thing is that the labels are in port

Re: [Gambas-user] Printing text vertically (using printing or gb.report)

2014-01-16 Thread Rolf-Werner Eilert
Am 16.01.2014 10:30, schrieb Willy Raets: > On Tue, 2014-01-14 at 10:04 +0100, Willy Raets wrote: >> Hi all, >> >> I have a Dymo Label writer at work and need to print address labels. >> Thing is that the labels are in portrait and the text needs to be >> printed vertically instead of horizontall

Re: [Gambas-user] Printing text vertically (using printing or gb.report)

2014-01-16 Thread Willy Raets
On Tue, 2014-01-14 at 10:04 +0100, Willy Raets wrote: > Hi all, > > I have a Dymo Label writer at work and need to print address labels. > Thing is that the labels are in portrait and the text needs to be > printed vertically instead of horizontally as it happens now. > > I have tried with both p

Re: [Gambas-user] A Gambas-MySql question -> Query the result of a query and a table

2014-01-16 Thread Willy Raets
On Thu, 2014-01-16 at 00:45 +1030, Bruce wrote: > Hi Willy, > I have been thinking about this for the last day (amongst 20,000 other > things) and I really don't have an easy answer. > > On Tue, 2014-01-14 at 10:20 +0100, Willy Raets wrote: > > Hi all, > > > > In MS Access it was possible to mak

Re: [Gambas-user] GB3 write Byte[] question

2014-01-16 Thread wally
On 01/16/2014 09:30 AM, Benoît Minisini wrote: > Le 16/01/2014 09:27, wally a écrit : >> Hello, >> >> i want to send some data bytes to serialport using below code: >> >> Public Sub Button2_Click() >> >>Dim arr As Byte[] >>arr = [&Haa, &H15, &H00, &Hfe, &H0a, &H00, &H00, &H00, &

Re: [Gambas-user] GB3 write Byte[] question

2014-01-16 Thread Benoît Minisini
Le 16/01/2014 09:27, wally a écrit : > Hello, > > i want to send some data bytes to serialport using below code: > >Public Sub Button2_Click() > > Dim arr As Byte[] > arr = [&Haa, &H15, &H00, &Hfe, &H0a, &H00, &H00, &H00, &Hff, &Hff, > &Hff, &Hff, > &H00, &H00, &H0a, &H

[Gambas-user] GB3 write Byte[] question

2014-01-16 Thread wally
Hello, i want to send some data bytes to serialport using below code: Public Sub Button2_Click() Dim arr As Byte[] arr = [&Haa, &H15, &H00, &Hfe, &H0a, &H00, &H00, &H00, &Hff, &Hff, &Hff, &Hff, &H00, &H00, &H0a, &H00, &H00, &H00, &H10, &H27, &H00, &H42] If SP1.Sta