From octave-maintainers-request at bevo dot che dot wisc dot edu Mon Dec 29 10:39:13 2003 Subject: use of "()" with lists = seg fault From: David Bateman To: octave-maintainers at bevo dot che dot wisc dot edu Date: Mon, 29 Dec 2003 17:38:39 +0100 I know "()" is not for use with lists but I get the following with 2.1.52 octave:1> a = list(1,2) warning: list objects are deprecated; use cell arrays instead a = ( [1] = 1 [2] = 2 ) octave:2> a(1) panic: Segmentation fault -- stopping myself... attempting to save variables to `octave-core'... warning: save: wrong type argument `list' save to `octave-core' complete Segmentation fault Surely an error message would be better ;-)... I think there is probably a missing subsref function for lists, though I haven't checked. D. -- David Bateman David dot Bateman at motorola dot com Motorola CRM +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary