[Prev][Next][Index][Thread]

Re: Expanding macros in FD.



"Michael T. Richter" <mtr@igs.net> writes:

> (The "could not parse" bit was a tip-off.)

This message ususally happens when you expand a macro that is not
available in the current context. For example, expanding a COM macro:

define client-dispatch
  // etc
end;

This will expand correctly. But trying to expand the expansion gives
the cannot parse message. This is because the client-dispatch-helper
(or whatever the macro it expanded to is) is not exported so it can't
be expanded further.

For macros in your own projects you can temporarily export it and
continue the expansion.

Chris.
-- 
http://www.double.co.nz/dylan



Follow-Ups: References: