[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SETLINES()
 Determines the number of lines after which the screen display pauses
------------------------------------------------------------------------------
 Syntax

     SETLINES(<nLines>) --> cNullString

 Argument

     <nLines>  Designates the number of lines after which the screen
     display pauses.

 Returns

     The function always returns a null string.

 Description

     SETLINES() allows you to simulate a DOS MORE command for commands like
     LIST or DISPLAY.  To properly function, one input command must always be
     present in the related instruction (see example).

 Note

     .  Only line feeds are counted.

     .  If you use values less than or equal to 0 for <nNrLines>, the
        screen display does not pause.

 Example

     In this example, the screen output stops after 20 lines.  INKEY() allows
     you to continuously query the keyboard, while the NUL() suppresses the
     return value for INKEY().

     USE DATA
     SETLINES(20)                  // Stop after 20 lines
     LIST Field1, Field2, NUL(INKEY())


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson