4.1 multiple assign sequence items?
- Posted by _tom (admin) Feb 01, 2014
- 1914 views
I expected that this would work:
sequence m = { 10, 20 } { m[1], m[2] } = { m[2], m[1] } ? m
Instead I get:
<0132>:: Syntax error - expected to see possibly ',', not '[' { m[1], m[2] } = { m[2], m[1] } ^
Using one of the 4.1 recently available:
Euphoria Interpreter v4.1.0 development 32-bit Linux, Using System Memory Revision Date: 2014-01-11 22:35:01, Id: 5777:944d3dd7b349
_tom