Re: getProp syntax query

2012-04-03 Thread Mark Talluto
On Apr 3, 2012, at 8:17 AM, Richard Gaskin wrote: > ...Mark came through on his end of the bargain wonderfully, providing a > sample function that worked on the first level of array keys, which was > enough for me to expand it to be able extract the data from any key > regardless of depth. > >

Re: getProp syntax query

2012-04-03 Thread Richard Gaskin
Graham Samuel wrote: > On Mon, 2 Apr 2012 Mark Schonewille wrote: ... >> You can use only one index, i.e. the setProp/getProp handlers >> are one-dimensional. ... > Mark, thanks for that. There is absolutely nothing of this in the > LC Dictionary AFAICS, although after a search I realised that >

Re: getProp syntax query

2012-04-02 Thread Graham Samuel
Mark, thanks for that. There is absolutely nothing of this in the LC Dictionary AFAICS, although after a search I realised that there is a very hard to read (IMHO) description on section 7.10 of the User Guide. I think at the very least a note should be added to the Dictionary entry, so I have s

Re: getProp syntax query

2012-04-02 Thread Pete
Hi Graham, Mark expalined the syntax I think. You probably already realise this, but using getProp isn't an integral part of the datagrid, I think Trevor just used it as an example. Since you're doing a spreadsheet, I assume you'd want to multiply any 2 columns together, not specific ones. If th

Re: getProp syntax query

2012-04-02 Thread Mark Schonewille
Hi Graham, The following (nonsense) example works: getProp foo[bar] answer bar return "hello world" end foo setProp foo[bar] theData answer theData pass foo end foo You can use only one index, i.e. the setProp/getProp handlers are one-dimensional. An additional parameter contains t