Overview | Statement List


输出文本

Synopsis

WRITE/file#[,LINNO,line#][,USING,'image string'],data list

Description

This statement writes a line of data to the specified scratch file.

Parameters

Parameter

Description

file#

The number of the scratch file to which the data is to be written. Ten scratch file areas are available, therefore, the specified number must be between 1 and 10.

LINNO

Minor word which indicates that the line created will have the specified line number. If the specified line exists, the data will be replaced.

NOTE: If LINNO is not specified in the first WRITE statement, the beginning line number will be 10. If LINNO is not specified on subsequent WRITE statements, the new line number will be equal to the last line number plus 10.

line#

The number of the line to be created.

USING

Minor word which indicates that the data is to be output to a specified format.

'image string'

The format image string which was covered in the beginning of this section.

data list

The data list may consist of any combination of string variables, numerical variables, string literals or numerical values.

 


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.