Brother International TD-4750TNWB FBPL Command Reference - Page 235
WEEK, Description, Syntax, Example, See Also
![]() |
View all Brother International TD-4750TNWB manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 235 highlights
12.5 WEEK Description Read the day of the week data via the Real Time Clock (RTC), which is represented by one single digit (1~7). Syntax Read attribute: A = WEEK Range: 1(Sunday)~7(Saturday) Example Sample code DOWNLOAD "DEMO.BAS " SIZE 4,1 GAP 0,0 DIRECTION 1 CLS REM *****Read Week parameter form RTC***** WEEK$=STR$(WEEK) W=WEEK REM *****Print***** TEXT 10,10, "3",0,1,1, "WEEK1="+WEEK$ TEXT 10,50, "3",0,1,1, "WEEK2="+STR$(W) TEXT 10,90, "3",0,1,1, "WEEK3="+STR$(WEEK) PRINT 1 EOP DEMO Result See Also ~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND 230
![](/manual_guide/products/brother-international-td4420tn-fbpl-command-reference-a4fb318/235.png)
230
12.5 WEEK
Description
Read the day of the week data via the Real Time Clock (RTC), which is represented by one single digit (
1
~
7
).
Syntax
Read attribute:
A = WEEK
Range:
1
(Sunday)~
7
(Saturday)
Example
Sample code
DOWNLOAD "DEMO.BAS
"
SIZE 4,1
GAP 0,0
DIRECTION 1
CLS
REM *****Read Week parameter form RTC*****
WEEK$=STR$(WEEK)
W=WEEK
REM *****Print*****
TEXT 10,10,
"
3",0,1,1,
"
WEEK1="+WEEK$
TEXT 10,50,
"
3",0,1,1,
"
WEEK2="+STR$(W)
TEXT 10,90,
"
3",0,1,1,
"
WEEK3="+STR$(WEEK)
PRINT 1
EOP
DEMO
Result
See Also
~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND