[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Avoiding line breaks in BASIC print file?

» close window

The Question is:

 
How to specify the length of a line when printing to a file/channel (to stop
lines breaking) in DEC BASIC
 


The Answer is :

 
    The MARGIN statement specifies the margin width for records in a
    terminal-format file.
 
       Example
 
    	   MARGIN #4%, 132%
 
    Be sure to read up in the BASIC Userguide about terminal format
    files versus sequential files. The latter will NOT break lines at all.
 

answer written or last revised on ( 16-JUN-1999 )

» close window