Mark Wallace wrote: > > Hi, > I rewrote Micha's bins example (from the fd library), and tried using > macros: > tr_col(red, 3). > tr_col(green, 2). > tr_col(blue, 1). You also need no_macro_expansion-wrappers here, otherwise on recompilation the predicate will be tr_col(3, 3). tr_col(2, 2). tr_col(2, 1). since the old macros are still in effect. Btw, when you make your program a module, you need no wrappers at all. That's because the module including the macro definitions will be completely erased before recompilation. -- JoachimReceived on Wed Feb 13 11:02:59 2002
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:13 PM GMT GMT