previous next top complete contents complete index framed top this page unframed
For example, if the file foo.txt contains:
<1>: CLASS foo
--------------
STRING s
POINTER next
<2>: record of class <1>
------------------------
s = "Hello, there."
next = <3>
<3>: record of class <1>
------------------------
s = "Bye now!"
next = NULLPOINTER
<end-of-file or end-of-page character>
then a STRTXT session might look as follows on SPARC UNIX:
*strtxt<eol>
DT (data => text), TD (text => data), <eol> (stop): td<eol>
Input file: foo.txt<eol>
Output file: struct.dat<eol>
paged output (Yes or No): y<eol>
Data image size = 1024 storage units
DT (data => text), TD (text => data), <eol> (stop): dt<eol>
Input file: struct.dat<eol>
paged input (Yes or No): y<eol>
startPage for input (just <eol> for 0): <eol>
Output file: tty<eol>
compressed output (Yes or No): n<eol>
systemWrittenOn uspa
<120>: CLASS foo
----------------
STRING s
POINTER next
<88>: record of CLASS <120> # foo
---------------------------------
s = "Hello, there."
next = <168>
<168>: record of CLASS <120> # foo
----------------------------------
s = "Bye now!"
next = NULLPOINTER
Data image size = 1024 storage units
DT (data => text), TD (text => data), <eol> (stop): <eol>
MAINSAIL Structure Blaster User's Guide, Chapter 6