lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Friends,

This is a very basic programming query, but I just can't get it worked-out.
Suppose that there were a 2-d array ( the contents of a simple spreadsheet for example) and one wished to sort a column, say:
could the table.sort instruction be applied to such an array were it to be defined in the form Array [ x ][y ]?

Any help would be very much appreciated.
Thank you

John Gilbert.
(Lua used in scripting an accounting program )

-- 
John A GILBERT
Aranda Systems Limited,
11,Seafield Crescent,
Blackrock,        tel.: +353-(0)1-260 09 63
Co DUBLIN,        fax.:           260 09 64
Ireland.          mob.: +353-(0)86-065 60 55
Publishers of Linear Transactions Processor© 
Ireland
www.arandasys.com