Brother International TD-4420TN FBPL Command Reference - Page 243
@HOUR, Description, Syntax, Example, Sample code, Result, See Also
View all Brother International TD-4420TN manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 243 highlights
12.13 @HOUR Description Write/read the hour data via the Real Time Clock (RTC). The 24-hour-day system (00~23) is supported by RTC. @HOUR global variable can be accessed directly without using BASIC language functions. Syntax Write attribute: @HOUR = "12" Read attribute: @HOUR Range: 00~23 Example Sample code Result REM *****Set @HOUR***** @HOUR="23" REM *****Print***** SIZE 4,1 GAP 0,0 DIRECTION 1 CLS TEXT 10,10, "3",0,1,1, "@HOUR" TEXT 210,10, "3",0,1,1,@HOUR PRINT 1 See Also ~!C, @YEAR, @MONTH, @DATE, @DAY, @MINUTE, @SECOND 238
238
12.13 @HOUR
Description
Write/read the hour data via the Real Time Clock (RTC). The 24-hour-day system (
00
~
23
) is supported by
RTC.
@HOUR
global variable can be accessed directly without using BASIC language functions.
Syntax
Write attribute:
@HOUR = "12
"
Read attribute:
@HOUR
Range:
00
~
23
Example
Sample code
REM *****Set @HOUR*****
@HOUR="23"
REM *****Print*****
SIZE 4,1
GAP 0,0
DIRECTION 1
CLS
TEXT 10,10,
"
3",0,1,1,
"
@HOUR"
TEXT 210,10,
"
3",0,1,1,@HOUR
PRINT 1
Result
See Also
~!C, @YEAR, @MONTH, @DATE, @DAY, @MINUTE, @SECOND