RosettaCodeData/Task/Literals-String/Pike/literals-string.pike
2023-07-01 13:44:08 -04:00

7 lines
314 B
Text

'c'; // Character code (ASCII) (result: 99)
"c"; // String (result: "c")
"\n"; // String (result: newline character)
"hi " + world // String (result: "hi " and the contents of the variable world)
#"multiple line
string using the
preprocessor" // single literal string with newlines in it