www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - semantic of keyword "macro"

reply Wilhelm <wilhelm.kopanpert t-online.de> writes:
Hello,

I've  found the keyword "marco" in the keywordlist.
Is somebody able to explain the semantics and usage of 'marco'

thanks
Aug 30 2007
next sibling parent Regan Heath <regan netmail.co.nz> writes:
Wilhelm wrote:
 Hello,
 
 I've  found the keyword "marco" in the keywordlist.
 Is somebody able to explain the semantics and usage of 'marco'

It is for a planned/future feature to be added to D 2.0, see: http://d.puremagic.com/conference2007/speakers.html Specifically Walter's presentation. There is a little information in there. Regan
Aug 30 2007
prev sibling next sibling parent Frank Benoit <keinfarbton googlemail.com> writes:
Wilhelm schrieb:
 Hello,
 
 I've  found the keyword "marco" in the keywordlist.
 Is somebody able to explain the semantics and usage of 'marco'
 
 thanks

This is not yet implemented, but the keyword is already reserved. It will be part of D 2.0. An explanation can be found in the presentation of Walter/Andrei on the DConf 2007. http://s3.amazonaws.com/dconf2007/WalterAndrei.pdf see page 45
Aug 30 2007
prev sibling parent Bill Baxter <dnewsgroup billbaxter.com> writes:
Wilhelm wrote:
 Hello,
 
 I've  found the keyword "marco" in the keywordlist.
 Is somebody able to explain the semantics and usage of 'marco'

Whenever the compiler encounters the 'marco' keyword, it is required to respond immediately by printing the word "polo" to the console. --bb [it's a joke :-) -- http://en.wikipedia.org/wiki/Marco_Polo_%28game%29 Used to play that all the time in the summers.]
Aug 30 2007