Re: [Gambas-user] Scripter swallows #Endif?

2015-02-14 Thread Fabien Bodard
Well the bug is because the gbs compiler search for the END keyword to delimit a class or the main content. I need to find a way to consider the #IF - #ENDIF 2015-02-14 15:31 GMT+01:00 Tobias Boege : > Hi Benoit, > > the scripter seems to have a problem when #Endif is the last line in a > script.

Re: [Gambas-user] Custom Eval (was Re: The new Border class)

2015-02-14 Thread Charlie Reinl
Am Sonntag, den 08.02.2015, 21:39 +0100 schrieb Fabien Bodard: > Dim ccol As Collection = ["Nr": 2, "Page_2": 8] > > Print Eval(Eval("\"Page_\" & Nr", ccol), ccol) > > This work for me ... > > My feature request is for use in case like spreadheet, report fields, > but also user small exten scrip

[Gambas-user] Scripter swallows #Endif?

2015-02-14 Thread Tobias Boege
Hi Benoit, the scripter seems to have a problem when #Endif is the last line in a script. This is the source code I consider: #If True Public Sub Main() Print "True is true" End #Else Public Sub Main() Print "True is false" End #Endif If this is inside a Gambas project, it

[Gambas-user] VarPtr() on array syntax

2015-02-14 Thread Tobias Boege
Hi Benoit, in bug #589, comment #6, [0] you wrote that the C code interface = PMD_Find_Inteface ( &hid[i], i, USB1608FS_PID); would translate to Const USB1608FS_PID As Integer = &H007D& ' from usb_1608FS.h ... PMD_Find_Interface(VarPtr(Hid[I]), I, USB1608FS_PID) (Yes, we're still tryin

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-14 Thread Mike Crean
Bruce this is the link Mike Gaugeshttps://demo.crossbar.io/demo/gauges/index.html |   | |   | |   |   |   |   |   | | GaugesController Channel: Switch Cancel Status: | | | | View on demo.crossbar.io | Preview by Yahoo | | | |   |   On Saturday, 14 February 2015, 21:51, Mike Crean wro

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-14 Thread Mike Crean
Hey Bruce, have a look at this link for a anaolg gauge html server. \ RegardsMike Gauges |   | |   | |   |   |   |   |   | | GaugesController Channel: Switch Cancel Status: | | | | View on demo.crossbar.io | Preview by Yahoo | | | |   | RegardsMike On Saturday, 14 February 2015, 12:07