|
22.
|
|
|
A script file is broken up into :dfn:`logical lines`. A logical line always begins at the start of a line in the file. A logical line ends at the end of a line, unless:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/language_basics.rst:97
|
|
23.
|
|
|
The last character on the line is a backslash ('\\').
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/language_basics.rst:101
|
|
24.
|
|
|
The line contains an open parenthesis character ('(', '{', or '['), that hasn't been matched by the cooresponding close parenthesis character (')', '}', or ']', respectively).
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/language_basics.rst:103
|
|
25.
|
|
|
The end of the line occurs during a string.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/language_basics.rst:107
|
|
26.
|
|
|
Once a logical line ends, the next logical line begins at the start of the next line.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/language_basics.rst:109
|
|
27.
|
|
|
Most statements in the Ren'Py language consist of a single logical line, while some statements consist of multiple lines.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/language_basics.rst:112
|
|
28.
|
|
|
Empty logical lines are ignored.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/language_basics.rst:125
|
|
29.
|
|
|
Indentation and Blocks
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/language_basics.rst:129
|
|
30.
|
|
|
:dfn:`Indentation` is the name we give to the space at the start of each logical line that's used to line up Ren'Py statements. In Ren'Py, indentation must consist only of spaces.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/language_basics.rst:131
|
|
31.
|
|
|
Indentation is used to group statements into :dfn:`blocks`. A block is a group of lines, and often a group of statements. The rules for dividing a file into blocks are:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/language_basics.rst:135
|