RosettaCodeData/Task/Literals-String/Pike/literals-string.pike

8 lines
314 B
Plaintext

'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