Sorry, that syntax already has semantics:
int a; array(int) b; b=[a]=({3});
(1) Result: ({ /* 1 element */ 3 })
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2002-11-12 11:41: Subject: Re: More about ADTs
On Tue, Nov 12, 2002 at 02:55:02AM +0100, Martin Stjernholm, Roxen IS @ Pike developers forum wrote:
Insert: foo+[bar] = gnu (lfun: `+[]=) Delete: foo-[bar] (lfun: `-[])
foo=[bar]=gnu
for an assignment without copy_value?
greetings, martin.
/ Brevbäraren