[Info-vax] How much of VMS is still in MACRO-32?
Camiel Vanderhoeven
iamcamiel at gmail.com
Mon May 31 04:07:01 EDT 2021
Op maandag 31 mei 2021 om 05:19:19 UTC+2 schreef Dave Froble:
> I'm curious. Do you have any tools that can pinpoint all references to
> a particular field or argument? If not, did you attempt to produce such
> a tool?
SEARCH? :-)
Seriously, having the structure name repeated in each field name helps a lot with this. Consider a field simply called "id" in a structure "employee". "SEARCH *.* id" would likely turn up fields called "id" in various different structures, loose variables called "id", etc. Having that field called emp$l_id makes for a much more meaningful result from "SEARCH *.* emp$l_id".
Pinpointing references to an argument to a procedure written in Macro requires following the logic, as the argument may be stored on the stack, moved to a different register, etc.
Camiel
More information about the Info-vax
mailing list