EasyManua.ls Logo

GPRINTER GP-2120T - BASIC Commands and Functions; Abs( )

GPRINTER GP-2120T
81 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
THERMAL BARCODE PRINTER SERIES 41
BASIC Commands and Functions
43. ABS( )
Description
This function returns the absolute value of an integer, floating point or variable.
Syntax
ABS (-100)
ABS (-99.99)
ABS (VARIABLE)
Example
DOWNLOAD TEST.BAS
SIZE 3,4
GAP 0,0
DENSITY 8
SPEED 3
DIRECTION 0
REFERENCE 0,0
SET PEEL OFF
CLS
A=ABS(-100)
B=ABS(-50.98)
C=-99.99
TEXT 100,100,3,0,1,1,STR$(A)
TEXT 100,150,3,0,1,1,STR$(B)
TEXT 100,200,3,0,1,1,STR$(ABS(C))
PRINT 1
EOP
See Also
DOWNLOAD, EOP

Other manuals for GPRINTER GP-2120T

Related product manuals