It's exactly that. It forces the copyright into the compiled object.
Without the CHGVAR, it never makes it into the object.
On 11/2/2022 8:08 PM, smith5646midrange@xxxxxxxxx wrote:
Without the CHGVAR, the compiler drops the variable from the program and
thus drops the copyright line from it. What purpose it has beyond that, I
don't know unless it is just a way to force the copyright to be part of the
compiled code.
-----Original Message-----
From: MIDRANGE-L<midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of James
H. H. Lampert via MIDRANGE-L
Sent: Wednesday, November 2, 2022 6:52 PM
To: Midrange Systems Technical Discussion<midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: James H. H. Lampert<jamesl@xxxxxxxxxxxxxxxxx>
Subject: Puzzling stuff at the end of standard QSTRUP
Does anybody know what these lines are all about, at the end of the
"as-delivered" QSTRUP:
NOWTRS:
RETURN
CHGVAR VAR(&CPYR) VALUE(&CPYR)
Now, clearly the label "NOWTRS" means "no writers," not "Now TRS-80."
But then, we have a RETURN, right before a CHGVAR that appears to be
equivalent to a NO-OP.
Seems kind of pointless.
--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email:MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contactsupport@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.