TSC AUTO ID Technology Co., Ltd. 222 Copyright 2013 All Rights Reserved.
@HOUR
Description
This variable reads/writes 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
See Also
~!C, @YEAR, @MONTH, @DATE, @DAY, @MINUTE, @SECOND