Brother International TD-4420TN FBPL Command Reference - Page 237
MINUTE, 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 237 highlights
12.7 MINUTE Description Write/read the minute data via the Real Time Clock (RTC). Two-digit (00~59) minute format is supported by RTC. Syntax Write attribute: MINUTE = 12 Read attribute: A = MINUTE Range: 00~59 Example Sample code DOWNLOAD "SetMinute.BAS" REM *****Set Minute Parameter to RTC***** MINUTE=27 EOP SetMinute Sample code DOWNLOAD "DEMO.BAS" SIZE 4,1 GAP 0,0 DIRECTION 1 CLS REM *****Read Minute parameter form RTC***** MINUTE$=STR$(MINUTE) MIN=MINUTE REM *****Print***** TEXT 10,10, "3",0,1,1, "MINUTE1="+MINUTE$ TEXT 10,50, "3",0,1,1, "MINUTE2="+STR$(MIN) TEXT 10,90, "3",0,1,1, "MINUTE3="+STR$(MINUTE) PRINT 1 EOP DEMO Result See Also ~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND 232
232
12.7 MINUTE
Description
Write/read the minute data via the Real Time Clock (RTC). Two-digit (
00
~
59
) minute format is supported by
RTC.
Syntax
Write attribute:
MINUTE = 12
Read attribute:
A = MINUTE
Range:
00
~
59
Example
Sample code
DOWNLOAD "SetMinute.BAS"
REM *****Set Minute Parameter to RTC*****
MINUTE=27
EOP
SetMinute
Sample code
DOWNLOAD "DEMO.BAS"
SIZE 4,1
GAP 0,0
DIRECTION 1
CLS
REM *****Read Minute parameter form RTC*****
MINUTE$=STR$(MINUTE)
MIN=MINUTE
REM *****Print*****
TEXT 10,10,
"
3",0,1,1,
"
MINUTE1="+MINUTE$
TEXT 10,50,
"
3",0,1,1,
"
MINUTE2="+STR$(MIN)
TEXT 10,90,
"
3",0,1,1,
"
MINUTE3="+STR$(MINUTE)
PRINT 1
EOP
DEMO
Result
See Also
~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND