Creating a note by specifying a text string and by reading scratch file 1.
As input to a note statement, the following text is written to a scratch file:
MATERIAL: STEEL
REMOVE ALL BURRS AND SHARP EDGES.
$$
$$ Create and Write to Text File
$$
CREATE/TXT,1,'NOTEDATA.TXT'
WRITE/1,'2. REMOVE ALL BURRS'
WRITE/1,' AND SHARP EDGES'
$$
$$ Note Definitions
$$
NOTE/-2.2,1.5,'1. MATERIAL: STEEL.'
NOTE/-2.2,1.0,1,IFERR,A1:
JUMP/A2:
A1:
MESSG/TEMP,'ERROR READING FILE'
A2:
HALT
A Programmed Note and a Note from Scratch File # 1