× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Copy Bytes Repeatedly (CPYBREP)
 

Op Code (Hex) 
Operand 1 
Operand 2 
 
 

10BE 
Receiver 
Source 
 
 
Operand 1: Numeric variable scalar or character variable scalar. 
Operand 2: Numeric scalar or character scalar. 
Description:   The logical string value of the source operand is repeatedly
copied to the receiver operand until the receiver is filled. The operands
can be either character or numeric. Any numeric operands are interpreted as
logical character strings. 
The operation begins with the two operands left-adjusted and continues until
the receiver operand is completely filled. If the source operand is shorter
than the receiver, it is repeatedly copied from left to right (all or in
part) until the receiver operand is completely filled. If the source operand
is longer than the receiver operand, the leftmost bytes of the source
operand (equal in length to the receiver operand) are copied to the receiver
operand. 
Substring operand references that allow for a null substring reference (a
length value of zero) may be specified for operands 1 and 2. The effect of
specifying a null substring reference for either operand is that no result
is set. 
If either operand is a character variable scalar, it may have a length as
great as 16,776,191. 
 

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.