Literals/String: Difference between revisions

+ AutoHotkey
(add Ruby)
(+ AutoHotkey)
Line 51:
putf(bookf, $3p"Page 3"4l5x"Line 4 indented 5"$)
Note: ALGOL 68G does not implement newpage and backspace.
=={{header|AutoHotkey}}==
unicode
<lang AutoHotkey>
"c" ; character
"text" ; string
hereString = ; with interpolation of %variables%
(
"<>"
the time is %A_Now%
\!
)
 
hereString2 = ; with same line comments allowed, without interpolation of variables
(Comments %
literal %A_Now% ; no interpolation here
)</lang>
=={{header|AWK}}==
Characters are just strings of length 1 in awk, denoted by double quotes.
Anonymous user