manual:chapter6:libdata:cmd_mkbindata

Synopsis


Create a binary data container object

Stack Diagram


Input Stack Output Stack
Numsize D
Level 1 Level 1

Legend

Keyword type Command
Parallel list processing capabilities Group 5 One argument, one result commands
Affected by flags None

Description


The MKBINDATA command creates a binary data container object of specified size. The object is not initialized and contains random data: it's user's responsibility to initialize it properly.

Compatibility


MKBINDATA is specific to newRPL and has no direct equivalent in userRPL.

Usage


Input

4:                                      
3:                                      
2:                                      
1:                                     4
…………………………………………………………………………………………………………
MKBINDATA                               


Output

4:                                      
3:                                      
2:                                      
1:                      BINDATA 1 A4gACz
…………………………………………………………………………………………………………
                                        

Related Commands


Arbitrary data containers 9 NEW

Command Short Description
MKBINDATA Create binary data container object NEW
BINPUTB Store bytes into binary data object NEW
BINGETB Extract binary data as list of bytes NEW
BINPUTW Store 32-bit words into binary data object NEW
BINGETW Extract data from a binary data object as a list of 32-bit words NEW
BINPUTOBJ Store an entire object into a binary data container NEW
BINGETOBJ Extract an entire object from a binary data container NEW
BINMOVB Copy binary data block into a binary data object NEW
BINMOVW Copy 32-bit words between binary data objects NEW
  • manual/chapter6/libdata/cmd_mkbindata.txt
  • Last modified: 2021/09/20 09:24
  • by jojo1973