Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
Module CheckString {
|
||||
s$ = "hello"
|
||||
PRINT s$;" literal" 'or s$ + " literal"
|
||||
s2$ = s$ + " literal"
|
||||
PRINT s2$
|
||||
Print Len(s2$)=13
|
||||
\\ get an ansi string
|
||||
k$=Str$("Hello")
|
||||
Print Len(k$)=2.5 ' 2.5 words or 5 bytes
|
||||
Print Chr$(k$)
|
||||
k2$=k$+Str$(" literal")
|
||||
Print Len(k2$)=6.5 ' 13 bytes
|
||||
Print Chr$(k2$)
|
||||
Print Len(Chr$(k2$))=13 ' words
|
||||
}
|
||||
CheckString
|
||||
Loading…
Add table
Add a link
Reference in a new issue