From Modula-2 Reloaded

WiP: Pervasive Macro WRITEF

In addition to pervasive macros READ and WRITE, a macro WRITEF for the purpose of formatted output shall be added.

WRITEF( file, formatString, data ... );

expands to:

<TypeOf(data)>.WriteF( file, formatString, data ... );

where <TypeOf(data)> is replaced by the identifier of the type of data
Retrieved from http://modula-2.net/m2r10/pmwiki.php?n=WiP.PervasiveMacroWRITEF
Page last modified on 2010-01-23 10:23