2.7.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 felix section to tut/examples/mac129.flx[1 /1 ]
     1: #line 581 "./lpsrc/flx_tut_macro.pak"
     2: #include <flx.flxh>
     3: macro val hello = "Hello";
     4: macro val place = "world";
     5: macro fun greet() = hello " " place "!\n";
     6: {
     7:   macro val hello = "Hi there";
     8:   macro val place = "locality";
     9:   print (greet());
    10:   macro forget place;
    11:   print (greet());
    12:   macro forget;
    13:   print (greet());
    14: };
    15: 
    16: print (greet());
    17: 
End felix section to tut/examples/mac129.flx[1]