RosettaCodeData/Task/Copy-a-string/QBasic/copy-a-string.basic

5 lines
107 B
Plaintext

src$ = "Hello" ' is the original string
dst$ = src$ ' is the copy
src$ = " world..."
PRINT dst$; src$