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