Literals/String: Difference between revisions

Content deleted Content added
Logo
No edit summary
Line 302:
including newlines, until the label we put above
END
 
=={{header|Pop11}}==
 
In Pop11 charaters literals are written in inverted quotes (backticks)
 
`a` ;;; charater a
 
String are written in quotes
 
'a' ;;; string consisting of single character
 
Backslash is used to insert special charaters into strings:
 
'\'\n' ;;; string consisting of quote and newline
 
 
=={{header|Python}}==