Basic HTML version of Foils prepared March 30 97

Foil 64 Format Definitions (Chapter 11 of Llama Book)

From PERL4 Tutorial for CPS616 Computational Science for Information Age Course CPS616 -- February 1995. by Geoffrey C. Fox


1 format FORMATNAME =
2 fieldline (called picture line in Perl Manual)
3 value1, value2, value3 ...
4 fieldline
5 value1, value2, value3 ...
6 etc
7 .
8 The terminal dot as first character of line terminates format definition
9 FORMATNAME is label of this format and in simplest case one uses a format label which is identical to that of FILEHANDLE on which we wish to output
10 fieldlines specify fixed text as well as places and formats to print data which are listed as Perl variable names on following valueline. Clearly white space is significant in fieldline but not associated value line.

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Sep 6 1997