| PROCREAD | Index Level | PROGRAM |
| Syntax | PROCWRITE variable |
| Category | BASIC |
| Type | Statement |
| 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. |
| Options | |
| See Also | statements & functions PROCREAD TCLREAD ERROR THEN | ELSE statement.block |
| 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. |
| Warnings | |
| Compatibility | D3 7.0 R83 AP |
| PROCREAD | Index Level | PROGRAM |