FBPL Command Reference

Table Of Contents
241
12.13 @HOUR3
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
@YEAR, @MONTH, @DATE, @DAY, @MINUTE, @SECOND