www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - How Compilers Work

reply Walter Bright <newshound2 digitalmars.com> writes:
http://i.imgur.com/OnMc8HO.jpg
Sep 17 2013
next sibling parent "Adam Wilson" <flyboynw gmail.com> writes:
On Tue, 17 Sep 2013 22:23:03 -0700, Walter Bright  
<newshound2 digitalmars.com> wrote:

 http://i.imgur.com/OnMc8HO.jpg

+1 +1000 +1000000 -- Adam Wilson IRC: LightBender Project Coordinator The Horizon Project http://www.thehorizonproject.org/
Sep 17 2013
prev sibling next sibling parent "Brian Schott" <briancschott gmail.com> writes:
On Wednesday, 18 September 2013 at 05:23:03 UTC, Walter Bright 
wrote:
 http://i.imgur.com/OnMc8HO.jpg

Today I learned that mixin("*msg.base." ~ member ~ "_assign")(msg, value); is valid D syntax.
Sep 17 2013
prev sibling next sibling parent "Gary Willoughby" <dev nomad.so> writes:
On Wednesday, 18 September 2013 at 06:11:44 UTC, Brian Schott 
wrote:
 On Wednesday, 18 September 2013 at 05:23:03 UTC, Walter Bright 
 wrote:
 http://i.imgur.com/OnMc8HO.jpg

Today I learned that mixin("*msg.base." ~ member ~ "_assign")(msg, value); is valid D syntax.

Where is value used?
Sep 18 2013
prev sibling parent Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On Wed, 18 Sep 2013 10:10:42 +0200
"Gary Willoughby" <dev nomad.so> wrote:

 On Wednesday, 18 September 2013 at 06:11:44 UTC, Brian Schott 
 wrote:
 On Wednesday, 18 September 2013 at 05:23:03 UTC, Walter Bright 
 wrote:
 http://i.imgur.com/OnMc8HO.jpg

Today I learned that mixin("*msg.base." ~ member ~ "_assign")(msg, value); is valid D syntax.

Where is value used?

It's passed as the second argument to *msg.base.whatever_assign(...etc...) Or did I misunderstand the question?
Sep 18 2013