<cInFile> - text file to display (full path and filename) <nTop> - upper row of window <nLeft> - left col of window <nBottom> - lower row of window <nRight> - right col of window <nStart> - line to place highlight at startup <nCNormal> - normal text color (numeric attribute) <nCHighlight> - text highlight color (numeric attribute) <cExitKeys> - terminating key list (each byte of string is a key code) <lBrowse> - act-like-a-browse-routine flag <nColSkip> - col increment for left/right arrows <nRMargin> - right margin - anything to right is truncated <nBuffSize> - size of the paging buffer
Returns
0 if successful, FError() code if not
Description
Note: make sure you allocate a buffer large enough to hold enough data for the number of lines that you have in the window. Use the following formula as a guideline:
buffer size = (# of line) + 1 * RMargin
This is the smallest you should make the buffer. For normal use, 4096 bytes is recommended