2.6.1. Forgetting Macros

You can forget macros defined in the current scope with the forget statement. If no arguments are given, all macros defined in the current scope are forgotten.
Start C++ section to tut/examples/mac129.flx[1 /1 ]
     1: include "std";
     2: macro val hello = "Hello";
     3: macro val place = "world";
     4: macro fun greet() = hello " " place "!\n";
     5: {
     6:   macro val hello = "Hi there";
     7:   macro val place = "locality";
     8:   print (greet());
     9:   macro forget place;
    10:   print (greet());
    11:   macro forget;
    12:   print (greet());
    13: };
    14: 
    15: print (greet());
    16: 
    17: 
End C++ section to tut/examples/mac129.flx[1]