MENUPRINT

Purpose:

Reads a menu file and prints the menu to a file rather than the screen.

Syntax:

MENUPRINT(x, y, "filename")

x

-

Optional. An integer, the x-coordinate in text columns. Defaults to -1 (centered).

y

-

Optional. An integer, the y-coordinate in text columns. Defaults to -1 (centered).

"filename"  

-

A string, The name of the menu file.

Example:

menuprint("MENU1.MEN")

 

reads the menu file MENU1.MEN and writes the result to a file.

Remarks:

By default, the output file will be named menu1.prn. The user is given an opportunity to override the default name before the file is written.

See Also:

ECHO

INPUT

MENUCLEAR

MENUFILE

MENULIST

VIEWFILE