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

OUT_OK( cDest[, nRecs_ppg[, cAlias ]] )

Purpose

Used while printing reports, this function checks if ESC was pressed
recently (to interrupt the report), and attempts to recover if it was.

Arguments

     cDest -- one of S, F or P, denoting output destination
                  of screen, file, or printer, respectively

     nRecs_ppg -- number of records per page; defaults to 55 lines

     cAlias -- if passed, which alias to skip back in before resuming
                   after an interruption, else the current alias

Setup

This function would be called in line-oriented reports after the printing
of each line, as in the example below.

Example

     USE CUSTOMER
     CLEAR SCREEN

     DO WHILE !EOF() .AND. OUT_OK( "S", 20 )
        ? TRIM( Last_Name ) + " " + TRIM( First_Name )
        SKIP
     ENDDO

Returns

.T. if report was not interrupted (or if it was interrupted, but then
resumed), else .F.

Side Effects

May cancel the current print job if the user so desires.

Artful Calls

VERIFY, V_MENU

Source File

AA_OUTOK.PRG

See Also: PRINTER() PRN_STATUS() LIST_EM()

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