TSC AUTO ID Technology Co., Ltd. 132 Copyright 2009 All Rights Reserved.
STR$( )
Description
This function converts a specified value or expression into corresponding string of
characters.
Syntax
STR$ (n)
Parameter Description
n An integer, floating point number or mathematical expression
Example
DOWNLOAD "DEMO.BAS"
SIZE 3.00,3.00
GAP 0,0.00
SPEED 4.0
DENSITY 8
SET CUTTER OFF
DIRECTION 0
REFERENCE 0,0
A$="TSC Auto ID Technology Co., Ltd."
F=100
G=500
H$=STR$(F+G)
CLS
TEXT 10,10,"3",0,1,1,A$
TEXT 10,60,"3",0,1,1,"F="+STR$(F)
TEXT 10,110,"3",0,1,1,"G="+STR$(G)
TEXT 10,160,"3",0,1,1,"F+G="+H$
PRINT 1
EOP
DEMO
See Also
DOWNLOAD, EOP, END, LEFT$(), LEN(), RIGHT$(), MID$(), VAL()