Brother International TD-4420TN FBPL Command Reference - Page 128
BASIC Commands and Functions, 1 ABS, Description, Syntax, Example, See Also
![]() |
View all Brother International TD-4420TN manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 128 highlights
10 BASIC Commands and Functions 10.1 ABS() Description Return the absolute value of an integer, floating point or variable. Syntax ABS (VARIABLE) Example Sample code DOWNLOAD "TEST.BAS" SIZE 4,4 GAP 0,0 DIRECTION 1 SET TEAR ON 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$(ABSI) PRINT 1 EOP RUN "TEST.BAS" Result See Also DOWNLOAD, EOP 123
![](/manual_guide/products/brother-international-td4420tn-fbpl-command-reference-a4fb318/128.png)
123
10 BASIC Commands and Functions
10.1 ABS()
Description
Return the absolute value of an integer, floating point or variable.
Syntax
ABS (VARIABLE)
Example
Sample code
DOWNLOAD "TEST.BAS"
SIZE 4,4
GAP 0,0
DIRECTION 1
SET TEAR ON
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$(ABSI)
PRINT 1
EOP
RUN "TEST.BAS"
Result
See Also
DOWNLOAD, EOP