Re: vote on assignments as expressions

Laurent Dube <[email protected]>
Newsgroups gmane.comp.lang.prothon.user
Organization DEI
Message-ID <[email protected]>
Mark Hahn wrote:

> I proposed the exact same thing a week ago.  I had to retract the proposal
> when I realized that a method can only change the value of an existing
> attribute.  It cannot create a new attribute or rebind an attribute like an
> assignment statement does.

Well, fake it then. Make  ".assign!("  an operator in disguise. Only the
interpreter will know. This may open an interesting door.

  Laurent Dube
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.