Literals/String: Difference between revisions
Content added Content deleted
Drkameleon (talk | contribs) |
|||
Line 212: | Line 212: | ||
=={{header|Arturo}}== |
=={{header|Arturo}}== |
||
===Character literal=== |
|||
<lang arturo>chr: "Z"</lang> |
|||
⚫ | |||
===String literal=== |
|||
⚫ | |||
print [str "->" type str] |
|||
===Multiline String literal=== |
|||
<lang arturo>multiline: "This |
|||
multiline: { |
|||
This |
|||
is a multi-line |
|||
string |
|||
} |
|||
print [multiline "->" type multiline]</lang> |
|||
{{out}} |
|||
<pre>Hello world -> :string |
|||
This |
|||
is a multi-line |
is a multi-line |
||
string |
string -> :string</pre> |
||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |