6.1.2:Using
Chunks with Containers
コンテナでチャンクを使う
You
can use a chunk of a container anywhere you use an entire
container. For example, you can use the add
command to add a
number to a line of a field:
全てのコンテナを使うどんな場面でもコンテナのチャンクを使うことができます。例えば、あるフィールドの行を増やしたい時にはaddコマンドを使うことができます。
add
1 to
word 3 of field
"Numbers"
You can also use chunk expressions to replace (using
the put
command) or remove
(using the delete
command) any
portion of a container.
また、コンテナのどんな部分の置き換え(putコマンドを使います)や削除(deleteコマンドを使います)にもチャンク表現式を使うことができます。