Re: Multiple assignment?

new topic     » goto parent     » topic index » view thread      » older message » newer message
ArthurCrump said...
constant {X,Y} = somefunction() 

I quite like that. You could also have something like:

  integer {{a,sequence s},object o} = <Expr>; 

(I moved the leading type outside the {} to simplify parsing.)
(I have considered but not actually implemented either of these.)

Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu