QUOTE - Random Quotes
QUOTE extracts a random quote from a file. This can be a
cheerful utility to invoke at login time. It's best used with a
file of your favorite quotes, separated from each other by blank lines.
Files you may copy include:
The list of routines includes:
-
QUOTE extracts a random quote from a file.
-
FILE_LINE_COUNT counts the number of lines in a file.
-
FILE_LINE_GET gets a particular line of a file.
-
FILE_PARA_COUNT counts the number of paragraphs in a file.
-
GET_UNIT returns a free FORTRAN unit number.
-
I_RANDOM returns a random integer in a given range.
-
QUOTE_FILE_PRINT prints a given quote from a quote file.
Return to the FORTRAN software page.
Last revised on 27 March 2001.