How to create nested macro in BOO

Posted by Neo on Stack Overflow See other posts from Stack Overflow or by Neo
Published on 2010-01-29T14:16:49Z Indexed on 2010/03/26 9:03 UTC
Read the original article Hit count: 465

Filed under:

Hi,

I am creating nested macros in BOO, I wrote this program:

macro text:
  macro subMacro:
    text["Text"] = "Hello World"

  return [|
    block:  
      System.Console.WriteLine( "Hello World" );
  |]

But I am getting the error "Unknown Identifer: 'text'" in the 3rd line of the code.

© Stack Overflow or respective owner

Related posts about boo