Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

SCROLLFILE( cFname [, nTr, [ nBr [, nMaxlen ]]] )

Purpose

Scroll/pan a text file of ANY length in a screen window.

Arguments

     cFname -- File to scroll

     nTr -- If passed, top row, else 2

     nBr -- If passed, bottom row, else 22

     nMaxlen -- If passed, max line length, else
200

Setup

Requires 7k free memory at most. As written, maximum line width is 200
characters for a 20-line window, 400 chars for 10 lines, etc.

Example

     SCROLLFILE( "report.txt" )

Returns

.T.

Side Effects

User may scroll or pan.

Artful Calls

PUSH_SCR, POP_SCR, READPREV, READNEXT, SCR_LINE, SYSCOLOR

Source File

AA_SCROL.PRG

Notes

To increase the buffer size -- although we do not recommend it -- change
MAXSIZ in READPREV() and READNEXT() in AA_READ.C, and recompile.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson