6.1.13:Nonexistent Chunks

存在しないチャンク

If you request a chunk number that doesn't exist, the chunk expression evaluates to empty. For example, the expression char 7 of "AB" yields empty.

存在しないチャンクの番号を指定した時は、そのチャンク表現式はエンプティを帰します。例えば、「char 7 of "AB"」という表現式はエンプティを帰します。

If you attempt to change a chunk that doesn't exist, what happens depends on what kind of chunk you specify:

存在しないチャンクを変更するような場合は、指定したチャンクがなんであるかによって結果は異なります。

• Nonexistent character or word:

・存在しないキャラクタやワードの場合:

Putting text into a character or word that doesn't exist appends the text to the end of the container, without inserting any extra spaces.

存在しないキャラクタやワードにテキストをputすると、そのコンテナの最後にスペースなしでそのテキストを追加します。

• Nonexistent item:

・存在しないアイテムの場合:

Putting text into an item that doesn't exist
adds enough itemDelimiter characters to bring the specified item into existence.

存在しないアイテムにテキストをputすると、そのテキストを指定したアイテムとして取り扱うために必要なだけの数のアイテムデリミタ用キャラクタをそのテキストに付け加えます。【訳注】アイテムが存在しないときに「YOKOTA」というテキストを3番目のアイテムとして指定すると『,,YOKOTA』になり、今まで存在しなかった一番目のアイテム、二番目のアイテムを自動的にアイテムデリミタ(通常はコンマ)を付加して作り出します。

• Nonexistent line:

・存在しない行のばあい:

Putting text into a line that doesn't exist
adds enough return characters to bring the specified line number into existence.

存在しない行にテキストをputすると、そのテキストを置く行までに必要な数のリターン・キャラクタをそのテキストに付け加えます。【訳注】行が存在しないフィールドの七行目に「レヴォルーション」というテキストを指定すると、改行記号であるリターン・キャラクタを六つ作りだした後に指定したテキスト「レヴォルーション」を置きます。