RosettaCodeData/Task/String-interpolation-included-/QBasic/string-interpolation-included-.basic
2023-07-01 13:44:08 -04:00

6 lines
246 B
Text

x$ = "big"
PRINT "Mary had a "; x$; " lamb"
x$ = "little"
PRINT USING "Mary also had a & lamb"; x$
' this code above doesn't modify the first string subsustituting a piece of it with another string
'surely it gives the right output on the screen