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

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

2015-02-08 Thread 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 script. WIth this abilities they will be able to interact on the application work in

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

2015-02-08 Thread Charlie Reinl
Am Sonntag, den 08.02.2015, 14:46 +0100 schrieb Fabien Bodard: > oups i missed for the first one : > iResult = MyCol[eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] > > 2015-02-08 14:45 GMT+01:00 Fabien Bodard : > > ??? > > If I summarize what i see I can answer : > > > > iResult = MyCol[eval(

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

2015-02-08 Thread Fabien Bodard
oups i missed for the first one : iResult = MyCol[eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] 2015-02-08 14:45 GMT+01:00 Fabien Bodard : > ??? > If I summarize what i see I can answer : > > iResult = MyCol[eval(eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] > > or simply > > iResult =

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

2015-02-08 Thread Fabien Bodard
??? If I summarize what i see I can answer : iResult = MyCol[eval(eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] or simply iResult = MyCol["Sum_of_Value_page_" & CStr(MyCol["Page_Nr"])] Well if you have a point where you fill myCol so no need to store : iResult = MyCol["Sum_of_Value_page_

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

2015-02-07 Thread Charlie Reinl
Am Montag, den 05.01.2015, 22:16 +0100 schrieb Fabien Bodard: > 2015-01-05 22:02 GMT+01:00 Benoît Minisini : > > Le 05/01/2015 21:46, Fabien Bodard a écrit : > >>> What do you mean? > >>> > >>> -- > >>> Benoît Minisini > >> > >> I think about a tool that will be able to interpret inline formulas >

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

2015-01-05 Thread Fabien Bodard
2015-01-05 22:02 GMT+01:00 Benoît Minisini : > Le 05/01/2015 21:46, Fabien Bodard a écrit : >>> What do you mean? >>> >>> -- >>> Benoît Minisini >> >> I think about a tool that will be able to interpret inline formulas >> like in a spreedsheet. >> >> i have done something like that for playing myse

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

2015-01-05 Thread Benoît Minisini
Le 05/01/2015 21:46, Fabien Bodard a écrit : >> What do you mean? >> >> -- >> Benoît Minisini > > I think about a tool that will be able to interpret inline formulas > like in a spreedsheet. > > i have done something like that for playing myself but i'm not a > specialist of interpreters like you.