SPRINT
SPRINT byref s; [USING…;] …
Create a formated string and storing it to string s
.
SPRINT supports all features of PRINT. See PRINT for detailed
information. USG can be used instead of USING.
Example
1000
a = 2000
b =
SPRINT s1; USING "a = #####.00 b = ##,###"; a; b
SPRINT s2; "a + b = "; a; " + "; b; " = "; a + b
print s2 ' Output a = 1000.00 b = 2,000
print s1 ' Output: a + b = 1000 + 2000 = 3000
String
ASC
BCS
BIN
CBS
CHOP
CHR
DISCLOSE
ENCLOSE
FORMAT
HEX
INSTR
JOIN
LCASE
LEFT
LEFTOF
LEFTOFLAST
LOWER
LTRIM
MID
OCT
REPLACE
RIGHT
RIGHTOF
RIGHTOFLAST
RINSTR
RTRIM
SINPUT
SPACE
SPC
SPLIT
SPRINT
SQUEEZE
STR
STRING
TRANSLATE
TRIM
UCASE
UPPER
VAL
If there is insufficient information on this page and you wish learn more about SPRINT,
please send an email to smallbasic@gmail.com. You can help to improve information about
SPRINT by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.