[Info-vax] Whither VMS?

Bob Koehler koehler at eisner.nospam.encompasserve.org
Tue Oct 13 09:11:28 EDT 2009


In article <0088bcb2$0$30045$c3e8da3 at news.astraweb.com>, JF Mezei <jfmezei.spamnot at vaxination.ca> writes:
> 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.

   Several of those can be accomplished with LOCC and/or MOVTUC.  If
   you get creative you do byte or bit swapping with MOVCx.




More information about the Info-vax mailing list