254
edits
Line 31: | Line 31: | ||
'''Constant expressions'''<br /> | '''Constant expressions'''<br /> | ||
There are two ways to specify string literals:<br /> | There are two ways to specify string literals:<br /> | ||
'text' - use '' to insert a '<br /> | 'text' - use '' to insert a ' (eg. 'her''s')<br /> | ||
or<br /> | or<br /> | ||
"text" - use \" to insert a "<br /> | "text" - use \" to insert a " (eg. "a \"quotation\"")<br /> | ||
<br /> | <br /> | ||
Number literals are simply written as numbers:<br /> | Number literals are simply written as numbers:<br /> |
edits