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

9 lines
203 B
Text

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