Re: [Gambas-user] Writing a Choose Your Own Adventure prototype

2009-04-16 Thread Doriano Blengino
jbskaggs ha scritto: I am not saying goto isnt needed at all- just that to do what he is doing it isn't. Furthermore too many goto's create spaghetti code which becomes really hard to follow. :) But I do get what your saying and I have used goto's the same way- though not in a while. For

Re: [Gambas-user] Writing a Choose Your Own Adventure prototype

2009-04-16 Thread Leonardo Miliani
Doriano Blengino ha scritto: jbskaggs ha scritto: I am not saying goto isnt needed at all- just that to do what he is doing it isn't. Furthermore too many goto's create spaghetti code which becomes really hard to follow. :) But I do get what your saying and I have used goto's the same

[Gambas-user] Nasty bug in With instruction!

2009-04-16 Thread Jussi Lahtinen
Hi! Confirmed on Gambas2 and Gambas3. Code: Dim tmp As New Class1 With tmp .y = 0 tmp = funcx() Debug .y Debug tmp.y End With Public Function funcx() As Class1 Dim test As New Class1 test.y = 1 Return test End Output of debug is; 0 1 I think .y and tmp.y should be same! Regards,

[Gambas-user] databrowser toolbar - delete

2009-04-16 Thread nando
hi, is there a way when i press the del button in the toolbar not to delete the register in the database but modify the register to set it as inactive? Thank you -- Stay on top of everything new and different, both

Re: [Gambas-user] databrowser toolbar - delete

2009-04-16 Thread Jesus Guardon
Hi Nando I don't know exactly if this behavior could be changed, but, why don't you use a tableview or gridview instead? I think it may be not so difficult to implement the same functionality in a custom toolbar. Regards Jesús nando escribió: hi, is there a way when i press the del button

[Gambas-user] Installing GridEditor Component

2009-04-16 Thread Jason Hackney
I'm having a bit of trouble getting the GridEditor component intsalled into 2.7. Followed the directions at Gareth's site ( http://gambasrad.org/software/gambas-grideditor/documentation/how-to/installing-grideditor ). The project compiles without errors. Make - Executable goes through the

Re: [Gambas-user] atanh - wrong calculation

2009-04-16 Thread Jussi Lahtinen
Confirmed. Regards, Jussi On Thu, Apr 16, 2009 at 23:07, Andreas Müller andr...@poipoi.de wrote: Hello all, first I want to thank Benoit for his wonderfull Gambas system - never was programming easier than with this IDE! Now my little problem. I calculated the atanh(0.5) and got: