array assignment #2

  • Follow


Hi

ususally one would write
a = (/1, 2, 3/)

Which standard introduced the following form as an alternative?

a = [1, 2, 3]

Thanks

Daniel
0
Reply no.spam.address (65) 8/5/2011 2:53:36 PM

Daniel H <no.spam.address@gmx.de> wrote:

> ususally one would write
> a = (/1, 2, 3/)
> 
> Which standard introduced the following form as an alternative?
> 
> a = [1, 2, 3]

F2003. I might note that the subject line is slightly misleading in that
this isn't anything particular to assignment. It is an array constructor
and can be used in many contexts - not just assignment.

-- 
Richard Maine                    | Good judgment comes from experience;
email: last name at domain . net | experience comes from bad judgment.
domain: summertriangle           |  -- Mark Twain
0
Reply nospam47 (9742) 8/5/2011 2:55:31 PM


On 08/05/2011 04:55 PM, Richard Maine wrote:
> Daniel H<no.spam.address@gmx.de>  wrote:
>
>> ususally one would write
>> a = (/1, 2, 3/)
>>
>> Which standard introduced the following form as an alternative?
>>
>> a = [1, 2, 3]
>
> F2003. I might note that the subject line is slightly misleading in that
> this isn't anything particular to assignment. It is an array constructor
> and can be used in many contexts - not just assignment.
>

True, thanks!
0
Reply no.spam.address (65) 8/5/2011 3:36:20 PM

2 Replies
46 Views

(page loaded in 0.065 seconds)

Similiar Articles:













7/25/2012 11:05:45 PM


Reply: