1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-04-28 07:09:54 +03:00

Fix mistakes in Blurb language description

"data" has a "type" parameter to indicate the format, here it was
mistakenly named "format". Also fix a nearby typo.
This commit is contained in:
Philip Chimento 2023-09-10 11:31:36 -07:00
parent 6d8bc4a94c
commit 58d7abb9af

View file

@ -307,14 +307,14 @@ specifies that this is the cover art; it must also be declared with a
@ Fourth, a command for adding static internal data files:
= (text as Blurb)
data <id> <filename> format <format>
data <id> <filename> type <format>
=
Tells us to take the given data file and embed it into the blorb so that its
contents can be read whenever the story is played. The "format" here can be
either |TEXT| or |BINA|, meaning plain text or binary data.
Exactly what |TEXT| means will depend on how the story file wants to read
the file, but the convention used by Inform is that it should be UTF-8 plaib
the file, but the convention used by Inform is that it should be UTF-8 plain
text with Unix line breaks.
Similarly, by |BINA| Inform understands a sequence of big-endian four-byte