Alternate Entry Name: .MLR
B: movelr( outstr, outpos, instr, inpos, outlen [, inlen [, fill [, outype [, intype] ] ] ] );
C: void movelr(void *outstr, int outpos, const void *instr, int inpos, int outlen, int inlen [, int fill, int outype, int intype] );
MOVELR copies characters from "instr" into "outstr". Characters are obtained beginning in position "inpos" in "instr" and moving to the right; these characters are copied out beginning at position "outpos" in "outstr" and also moving to the right. Any previous contents of "outstr" beyond "outpos" will be written over.
A total of "outlen" characters are placed in "outstr". If "outlen" is greater than "inlen", "outstr" will be filled with "fill" characters to the desired length. This padding is done on the right. Depending on "intype" and "outype", the packing of the characters may be changed during the move.
The hardware does not guarantee results for overlapping strings. An IPR fault may occur if the output length is zero and the input length is not.
CONCAT should be used to copy B strings.
Copyright © 1996, Thinkage Ltd.