[Info-vax] Whither VMS?

JF Mezei jfmezei.spamnot at vaxination.ca
Fri Oct 9 17:40:24 EDT 2009


VAXman- @SendSpamHere.ORG wrote:

> Consider the MOVCx a macro or routine.  

Moving data isn't the on,y thing one does with strings. You also want to
scan through them, find the last non-blank characters, compress the
string to remove duplicate blanks (or all blanks), test validity of
string (postal code for instance), uppercase it, and check for a substring.

All of those operations require you scan through the string, at which
point, the loop that scans the string can be more efficient with a null
termkinated string compared to a counted string.



More information about the Info-vax mailing list