DADiSP Worksheet Functions > Function Categories > Menu Functions > MENUPRINT
Reads a menu file and prints the menu to a file rather than the screen.
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. |
menuprint("MENU1.MEN")
reads the menu file MENU1.MEN and writes the result to a file.
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.