Topic: output formatting

topics > computer science > programming > Group: input/output

page formatting


Output lines can be formatted by a format specification, or intermixed data and format specifiers. Data stream output can provide a default format with optional format overrides. Fixed-length data fields are required to maintain columniation. Data fields are often specified by character codes, producing a difficult to read sub-language. (cbb 5/80)
Subtopic: stream formatting up

Quote: character-stream I/O combine general, dynamically variable, formatting with conceptual simplicity [»huntG6_1977]
QuoteRef: ledgHF9_1971 ;;143 I/O as a layout stream [format] and data stream, both recycling until terminate at same time
Quote: in CONTROL, specify formatting by annotating the variable lists for READ and WRITE [»ruhlRC11_1976]

Subtopic: form formatting up

QuoteRef: seedH_1971 ;;48 Horizontal specification by fields (right justified positioning)
QuoteRef: seedH_1971 ;;49 Format control literals (no field name), edit words (i.e. internal literals eg "." with blanks for field positions), or fixed edit codes
QuoteRef: sammJE_1969 ;;222 Forms: ---.--- for fixed point and .... for scientific

Subtopic: bit formatting up

Quote: a formatting operator can pack multiple variables into a storage word [»memorex, OK]
QuoteRef: memorex ;;Memorex macro asm: output bit forms

Subtopic: examples up

QuoteRef: abraPW2_1976 ;;copied an example program
QuoteRef: bateF_1970 ;;369 Lots of picture specifying options
QuoteRef: bateF_1970 ;;371 $$ indicates a floating dollar sign (cause don't want 2 $ together)

Related Topics up

Topic: page formatting
(16 items)

Updated barberCB 10/04
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.