Here document: Difference between revisions

Applesoft BASIC
(Blade)
(Applesoft BASIC)
Line 135:
└∊─────────────────────────────────────────┘</pre>
 
=={{header|Applesoft BASIC}}==
Strings are limited to 255 characters. The double quote character delimits strings, so double quote cannot be embedded directly. The double quote can be included in a DATA statement if the text is not wrapped in quotes. Most control characters, with the exception of Return ^M, Backspace ^H, Forward-space ^U and Escape ^[, can be typed into strings. Control characters are not usually visible. The line feed character ^J moves the cursor position down one line, and the ^G character is audible!
<lang gwbasic> 0 Q$ = CHR$ (34)
1 M$ = CHR$ (13)
2 PRINT Q$"Oh, Danny Boy,"M$"The pipes, the pipes are calling"M$"From glen to glen and down the mountainside"Q$</lang>
There are tools and tricks to embed control characters like Return directly into the program.
=={{header|ARM Assembly}}==
{{works with|as|Raspberry Pi}}
413

edits