Show pageDiscussionOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== BINMOVB ==== ---- <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> ---- Copy binary data block into a binary data object </callout> <callout color="green" icon="fa fa-indent" title="Stack Diagram"> ---- ^ __Input Stack__ ^^^^^ ^ __Output Stack__ ^ | **D<sub>dest</sub>** | **Num<sub>offset_dest</sub>** | **D<sub>src</sub>** | **Num<sub>offset_src</sub>** | **Num<sub>bytes</sub>** | **→** | **D<sub>dest_updated</sub>** | | //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 || </callout> <callout color="orangered" icon="fa fa-comment" title="Description"> ---- 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. </callout> <callout type="danger" icon="true" title="Compatibility"> ---- This command is new in newRPL and does not exist in userRPL. </callout> <callout type="info" icon="true" title="Usage"> ---- <code> 5: BINDATA 2 AAAAAAAAAAAA 4: 3 3: BINDATA 2 VWZ3iYESIzR4 2: 2 1: 4 …………………………………………………………………………………… BINMOVB </code> will result in <code> 1: BINDATA 2 ZgAAAYADNEVx …………………………………………………………………………………… </code> a data container storing bytes ''{ #66h #55h #44h #33h }'' in positions from 3 to 6. </callout> <callout color="darkgray" icon="fa fa-hand-o-right" title="Related Commands"> ---- {{page>manual:chapter6:libdata&nofooter&noeditbtn&inline}} </callout> manual/chapter6/libdata/cmd_binmovb.txt Last modified: 2019/11/06 15:42by jojo1973