field- table

Sarah Reichelt sarahr at genesearch.com.au
Mon Jan 5 21:58:41 EST 2004


Hi Nick,
I'm way behind on my email, so I don't know if anyone else has already 
answered, but here are my thoughts on the subject:

Rev's table object is basically a normal field with tab stops. There 
are no commands for directly accessing cells, however it is very easy 
to write your own e.g.

function getCellData pField, pRow, pCol
   set the itemDel to tab
   return item pCol of line pRow of fld pField
end getCellData

on setCellData pField, pRow, pCol, pData
   set the itemDel to tab
   put pData into item pCol of line pRow of fld pField
end setCellData

Cheers,
Sarah
sarahr at genesearch.com.au
http://www.troz.net/Rev/

On 29 Dec 2003, at 10:07 pm, Nicholas Thieberger wrote:

> Does anyone have experience in using the field-table setting? I have a 
> field that conains a table (using RR 2.0.2)
>
> How can I reference the cells in the table established in this way? 
> While the field inspector calls them cells, I can't get a reference to 
> cells to work...?
>
> thanks
>
> Nick



More information about the use-livecode mailing list