RosettaCodeData/Task/String-interpolation-included-/True-BASIC/string-interpolation-includ...

10 lines
203 B
Plaintext

LET x$ = "big"
PRINT "Mary had a "; x$; " lamb"
LET x$ = "little"
PRINT USING "Mary had another $##### lamb": x$
LET outstring$ = USING$("$#####", x$)
PRINT "Mary also had a "; outstring$; " lamb"
END