Modula-2 Reloaded

A Modern Typesafe & Literate Programming Notation

Site Menu

Project

Specification

Implementation

Recommendations

Reference

Needs Updating

Work in Progress

Wastebasket

Wiki Manual

edit SideBar

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