MV.DISP.BOXTEXT Statement  
Previous  Top  Next

Description  
 
This routine displays the data folded and displayed inside the last box coordinates.  
 
Syntax  
 
MV.DISP.BOXTEXT (TextName, Filename, Option)  
 
Using the COMMON variable BoxParms - which contains the coordinates of the last displayed box - this routine will display the text in TextName or the data from the record TextName in the file Filename.  
 
This does not use the COMMON variables directly.  

Variable
Description
Range/Comments
TextName
Name of record (if relevant) or Variable containing the text to be edited

Filename
Name of file (if relevant)
Valid file name or null
Option
Determine action to be taken
See below.
 

document Remarks  
 
If there is a value in the variable Filename the record defined in the variable TextName will be read (providing there are no spaces in TextName) and the contents will be displayed.  

The contents of the variable Option will determine the action to be taken upon pressing ENTER. The options are:  

Option
Description
"N"
Do not wait for any key press and do not refresh the screen.
"I"
Wait for key press and refresh the screen when the ENTER key is pressed.
"P"
Wait for key press but do not refresh screen when ENTER is pressed.
 

The "I" and "P" options allow the cursor keys to be used to page up and down the text and the ENTER key to confirm that the display is complete.