I already had the guts of this one running with an extended version of the cprint macro so I fiddled it to perform file output instead of console output and it seems to be working OK at the moment. It has built in notation for quotations, newline support, tab support and both normal and angle brackets. What I am tempted to do is use the guts of this macro as a macro to be called by other macros but I have not worked out how to pass enough data back to the caller yet.
this one as like earlier versions will not handle registers as arguments or register return values.
[attachment deleted by admin]
It works fine :U