==== BINMOVB ====
----
----
Copy binary data block into a binary data object
----
^ __Input Stack__ ^^^^^ ^ __Output Stack__ ^
| **Ddest** | **Numoffset_dest** | **Dsrc** | **Numoffset_src** | **Numbytes** | **→** | **Ddest_updated** |
| //Level 5// | //Level 4// | //Level 3// | //Level 2// | //Level 1// | //→// | //Level 1// |
{{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}}
|**Type**| [[manual:chapter5:basics#commands|Command]] ||
|**Parallel list processing**| [[manual:chapter5:listproc#group-7multiple-argument-one-result-commands|Group 7]] ||
|**Affected by flags**| None ||
----
The ''BINMOVB'' command copies a specified number of bytes from a binary data container to another, starting from an offset position and writing the data at another; it's not possible to write data exceeding the destination container's size.
----
This command is new in newRPL and does not exist in userRPL.
----
5: BINDATA 2 AAAAAAAAAAAA
4: 3
3: BINDATA 2 VWZ3iYESIzR4
2: 2
1: 4
……………………………………………………………………………………
BINMOVB
will result in
1: BINDATA 2 ZgAAAYADNEVx
……………………………………………………………………………………
a data container storing bytes ''{ #66h #55h #44h #33h }'' in positions from 3 to 6.
----
{{page>manual:chapter6:libdata&nofooter&noeditbtn&inline}}