PRSTR prints any string array to the terminal or a file, one element per line.
For terminal output, the default is to print by screen (Unix ``more'' behavior).
The /compress switch removes null lines and excess white space prior to output.
This is useful (for example) for printing FITS headers to terminal. /hc
will create a hard copy to the printer selected by PPRINT. file=file will write the results to a file.
IDL> prstr, strarray
IDL> prstr, strarray, /print
IDL> prstr, strarray, /compress
IDL> prstr, strarray, lun