Re: 4.1 multiple assign sequence items?

new topic     » goto parent     » topic index » view thread      » older message » newer message
_tom said...

I expected that this would work:

sequence m = { 10, 20 } 
{ m[1], m[2] } = { m[2], m[1] } 
? m 

Just for peanuts, i'd have thought you'd be doing

sequence m = { 10, 20 } 
 m[1], m[2] = m[2], m[1] 
? m 

But then, i didn't know 4.1 was released yet, or see anything about it's readme or feature list.

useless

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu