Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
manual:chapter6:libdata:cmd_binputb [2019/11/06 15:43] jojo1973 |
manual:chapter6:libdata:cmd_binputb [2021/09/23 00:44] (current) jojo1973 |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== BINPUTB ==== | ==== BINPUTB ==== | ||
| - | ---- | ||
| <callout type=" | <callout type=" | ||
| ---- | ---- | ||
| - | Store bytes into binary data object | + | Store bytes into a binary data container |
| </ | </ | ||
| Line 9: | Line 8: | ||
| ---- | ---- | ||
| ^ __Input Stack__ | ^ __Input Stack__ | ||
| - | | **D< | + | | **D< |
| - | | **D< | + | | **D< |
| - | | **D< | + | | **D< |
| - | | //Level 4// | //Level 3// | //Level 2// | //Level 1// | // | + | | //Level 4// | //Level 3// | //Level 2// | //Level 1// | // |
| {{page> | {{page> | ||
| - | |**Type**| [[manual: | + | | **Keyword type** | [[manual: |
| - | |**Parallel list processing**| [[manual: | + | | **Parallel list processing |
| - | |**Affected by flags**| None || | + | | **Affected by flags** |
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| </ | </ | ||
| Line 31: | Line 44: | ||
| * a **list of scalars**: each number is converted to an unsigned binary integer and its lower 8 bits are written in the container. | * a **list of scalars**: each number is converted to an unsigned binary integer and its lower 8 bits are written in the container. | ||
| - | If the size of the source data is less than the specified number of bytes remaining bytes will be set to ''# | + | If the size of the source data is less than the specified number of bytes remaining bytes will be set to ''# |
| </ | </ | ||
| <callout type=" | <callout type=" | ||
| ---- | ---- | ||
| - | This command | + | '' |
| </ | </ | ||
| <callout type=" | <callout type=" | ||
| ---- | ---- | ||
| + | **__Input__** | ||
| < | < | ||
| - | 4: BINDATA 2 AAAAAAAAAAAA | + | 4: BINDATA 2 AAAAAAAAAAAA |
| - | 3: | + | 3: |
| - | 2: # | + | 2: # |
| - | 1: | + | 1: |
| - | …………………………………………………………………………………… | + | ………………………………………………………………………………………………………… |
| - | BINPUTB | + | BINPUTB |
| </ | </ | ||
| - | will result in | + | \\ |
| + | **__Output__** | ||
| < | < | ||
| - | 1: BINDATA 2 VWZ3iYESIzR4 | + | 4: |
| - | …………………………………………………………………………………… | + | 3: |
| + | 2: | ||
| + | 1: BINDATA 2 VWZ3iYESIzR4 | ||
| + | ………………………………………………………………………………………………………… | ||
| + | |||
| </ | </ | ||
| - | a data container storing bytes '' | ||
| - | ---- | ||
| - | < | ||
| - | 4: BINDATA 2 AAAAAAAAAAAA | ||
| - | 3: 0 | ||
| - | 2: " | ||
| - | 1: 2 | ||
| - | …………………………………………………………………………………… | ||
| - | BINPUTB | ||
| - | </ | ||
| - | (where character on level 2 is $\overline{\infty}$, | ||
| - | < | ||
| - | 1: BINDATA 2 AAAFHiAAAAAA | ||
| - | …………………………………………………………………………………… | ||
| - | |||
| - | </ | ||
| - | a data container storing bytes '' | ||
| - | ---- | ||
| - | < | ||
| - | 4: BINDATA 2 AAAAAAAAAAAA | ||
| - | 3: 0 | ||
| - | 2: { # | ||
| - | 1: 2 | ||
| - | …………………………………………………………………………………… | ||
| - | BINPUTB | ||
| - | </ | ||
| - | will result in | ||
| - | < | ||
| - | 1: BINDATA 2 AAARVZAAAAAA | ||
| - | …………………………………………………………………………………… | ||
| - | |||
| - | </ | ||
| - | a data container storing bytes '' | ||
| </ | </ | ||
| Line 94: | Line 79: | ||
| {{page> | {{page> | ||
| </ | </ | ||
| + | |||