1. RE: operators

Hello

As a newbie I would like to know what "&=" stands for, as in
recently-published algorithms. I cannot find it in Euphoria package docs.

Regards

_John Sampson_

new topic     » topic index » view message » categorize

2. RE: operators

jsampson at indexes.u-net.com wrote:
> Hello
> 
> As a newbie I would like to know what "&=" stands for, as in
> recently-published algorithms. I cannot find it in Euphoria package 
> docs.
> 

It isn't new.  It is just shorthand notation for the "&" operator 
(concate).


x = x & y

is the same as

x &= y


The form can also be used with the + - / * operators:


x = x + 1

is the same as

x += 1

etc...

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu