Literals/String: Difference between revisions
Content added Content deleted
(Realize in F#) |
(Added uBasic/4tH) |
||
Line 382: | Line 382: | ||
50 REM Output the word hello enclosed in doublequotes |
50 REM Output the word hello enclosed in doublequotes |
||
60 PRINT """Hello""" |
60 PRINT """Hello""" |
||
</lang> |
|||
=={{header|uBasic/4tH}}== |
|||
uBasic/4tH supports the inclusion of doublequotes by allowing the escape <code>\q</code> in almost every string literal. |
|||
<lang>Print "This is a ";Chr(Ord("\q"));"quoted string";Chr(Ord("\q")) |
|||
Print "This is a \qquoted string\q" |
|||
a := "This is a \qquoted string\q" : Print Show(a) |
|||
</lang> |
</lang> |
||