Time for an 2014 update…
This commit is contained in:
parent
372c577f83
commit
09687c4926
2520 changed files with 34227 additions and 7318 deletions
|
|
@ -1,6 +1,4 @@
|
|||
10 REM Print some quotes
|
||||
20 PRINT CHR$(34)
|
||||
30 REM Print some more doublequotes
|
||||
40 PRINT """"
|
||||
50 REM Output the word hello enclosed in doublequotes
|
||||
60 PRINT """Hello"""
|
||||
M$ = CHR$(13) : Q$ = CHR$(34)
|
||||
A$ = "THERE ARE" + M$
|
||||
A$ = A$ + "NO " + Q$ + "HERE" + Q$ + " STRINGS."
|
||||
? A$
|
||||
|
|
|
|||
6
Task/Literals-String/BASIC/literals-string-4.basic
Normal file
6
Task/Literals-String/BASIC/literals-string-4.basic
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
10 REM Print some quotes
|
||||
20 PRINT CHR$(34)
|
||||
30 REM Print some more doublequotes
|
||||
40 PRINT """"
|
||||
50 REM Output the word hello enclosed in doublequotes
|
||||
60 PRINT """Hello"""
|
||||
3
Task/Literals-String/Deja-Vu/literals-string.djv
Normal file
3
Task/Literals-String/Deja-Vu/literals-string.djv
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
local :s "String literal"
|
||||
local :s2 "newline \n carriage return \r tab \t"
|
||||
!print "backslash \\ quote \q decimal character \{8364}"
|
||||
|
|
@ -11,6 +11,6 @@ Binary strings are also possible:
|
|||
|
||||
jjj='01011011'B
|
||||
jjj='01011011'b
|
||||
jjj='0101 1011'b
|
||||
jjj="0101 1011"b
|
||||
jjj='0101 1011 1111'b
|
||||
longjjj='11110000 10100001 10110010 11100011 11100100'B
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue