WWW | Community | Store | Account | Contact Us
SHAZAM Homepage

PRINT

The PRINT command is used to list variables on the screen or the SHAZAM output file.

In general, the format is:

PRINT vars / options

You may print a series of vectors, in which case they will appear as columns on the page. If you only print one vector it will be presented in horizontal format.

The available options are:

OPTION DESCRIPTION
beg= Only the observations within the range specified by BEG= and END= will be printed. If these are not specified, the range from the SAMPLE command is used.
byvar Specifies variables will be printed variable BY VARiable rather than observation by observation. If only one variable is printed this option is automatically in effect. It can be turned off with NOBYVAR. If BYVAR is specified, observations that have been omitted either with SKIPIF command or the expanded form of the SAMPLE command will also be printed. The SET BYVAR command will make BYVAR the default for the PRINT and WRITE commands.
end= Only the observations within the range specified by BEG= and END= will be printed. If these are not specified, the range from the SAMPLE command is used.
format The data will be written according to the format previously specified on the FORMAT command. The format will be stored in a variable called FORMAT.
nobyvar Specifies variables will be printed observation by observation rather than variable BY VARiable. The SET NOBYVAR command will make NOBYVAR the default for the PRINT and WRITE commands.
nonames Omits printing the heading of variable NAMES.
nowide NOWIDE uses 80 columns. Further details are described in the chapter SET AND DISPLAY in the SHAZAM Reference Manual.
wide WIDE uses 120 columns. Further details are described in the chapter SET AND DISPLAY in the SHAZAM Reference Manual.