help-octave
[Top][All Lists]
Advanced

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

Re: foo_cs = foo{:} - feature or bug ? (octave-3.4.2); also, sizeof(foo{


From: Przemek Klosowski
Subject: Re: foo_cs = foo{:} - feature or bug ? (octave-3.4.2); also, sizeof(foo{:})
Date: Mon, 08 Aug 2011 16:04:41 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Lightning/1.0b2 Thunderbird/3.1.10

On 08/08/2011 02:33 PM, Sergei Steshenko wrote:

FWIW, here is an example from Perl:

"
address@hidden:~/junk>  perl -e 'my @x = (1, 2, 3); my ($y) = @x; print 
"\$y=$y\n"'
$y=1

I'm glad you brought up Perl because it clearly distinguishes those two statements:

@a=1,2,3
@a=(1,2,3)

Octave's cs-list is like the first expression.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]