[Date Prev][Date Next][Subject Prev][Subject Next][Date Index][Subject Index]
- Subject: Re: hardcode.pgm
- From: Harry Binswanger hb@xxxxxxxxxxxx
- Date: Wed, 8 Mar 2000 01:12:47 -0500 (EST)
>Ages ago, there was a program called hardcode.pgm ...
Yeah, it never worked.
The simplest solution is TYPES. Also known as TYS. It produces REVIEW.TMP
which may need a tiny bit of cleaning up before being saved under your
Robert Hemenway refers to incrment.pgm. But isn't there a way to get the
value of <> from memory (as the cursor moves down the file)?
If not, you could write your own increment.pgm--such as:
TF go to the top of the file that's open
set variable 01 to the value 1
BC se // XC find the next C1 in the file
> if none found, go to label b
put the current value of variable 01 into the file
+1> increment the variable
> loop up to label a
TF go back to the top of the file
BC ci /// XC wipe out all the c1 markers
Note: the above has not been debugged--it's off the top of my head.