basic.procwrite Statement/BASIC Program

basic.procwrite

Command basic.procwrite Statement/BASIC Program
Applicable release versions: R83, AP
Category BASIC Program (486)
Description writes a string expression variable to the calling PROCs primary input buffer.

In order for PROC to be able to deal with the information in the variable, each space in the variable defines a new parameter in the PROCs input buffer.
Syntax procwrite variable
Options
Example
pq
hrun bp this.program
p
if a1 = abort x

This PROC checks the primary input buffer to see if it has been altered by the 
program "this.program".

read 'testrec' from test.file,test.id else
procwrite 'abort' 
stop
end

This program writes an abort message to the controlling PROCs primary input 
buffer.
Purpose
Related basic.statements
basic.procread
basic.tclread
basic.error()
basic.then/else.construct