[maemo-developers] implementation of 2-dimensional array in bash - kind request
From: Darius Jack dariusjack2006 at yahoo.ieDate: Sat Jul 5 20:54:59 EEST 2008
- Previous message: Error while loading shared library
- Next message: implementation of 2-dimensional array in bash - kind request
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, my idea is to declare a function array2D ( ) { } and have 2D array inmterpreted as one row. so calculating array2D ( ) i-th j-th element as i + (j-1) x row length 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 so ith (ith column) element in 3rd row is 2 x 5 + i Can I call such declared function in bash if/for/while command to update my array data ? I need such 2D array to save gps data and more. Darius Send instant messages to your online friends http://uk.messenger.yahoo.com
- Previous message: Error while loading shared library
- Next message: implementation of 2-dimensional array in bash - kind request
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]