static arrays becoming value types

Leandro Lucarella llucax at gmail.com
Wed Oct 21 13:40:53 PDT 2009


grauzone, el 21 de octubre a las 22:12 me escribiste:
> Or even:
> 
> a, b = foo();
> 
> or
> 
> a, _ = foo();
> 
> Works in Python (tm)

_ is a regular symbol (variable name in this case), there is nothing
special about the second form, which is exactly the same as the first. And
BTW, the trailing ; is not needed ;)

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Hey you, standing in the aisles
With itchy feet and fading smiles
Can you feel me?



More information about the Digitalmars-d mailing list