Wasp Technologies.
103 Copyright 2001 All Rights Reserved.
HOUR
Description
This variable is used to read from/write to RTC the hour data. The 24-hour-day
system (00~23) is supported by RTC.
Syntax
Write attribute: HOUR=12
Read attribute: A=HOUR
Range: 00~23
Example
DOWNLOAD "DEMO21.BAS"
SIZE 4,4
GAP 0,0
DENSITY 8
SPEED 3
DIRECTION 0
REFERENCE 0,0
SET CUTTER OFF
SET PEEL OFF
CLS
YEAR$=STR$(YEAR)
IF MONTH<10 THEN MONTH$="0"+STR$(MONTH) ELSE
MONTH$=STR$(MONTH)
IF DATE<10 THEN DATE$="0"+STR$(DATE) ELSE DATE$=STR$(DATE)
IF HOUR<10 THEN HOUR$="0"+STR$(HOUR) ELSE HOUR$=STR$(HOUR)
IF MINUTE<10 THEN MINUTE$="0"+STR$(MINUTE) ELSE
MINUTE$=STR$(MINUTE)
WEEK$=STR$(WEEK)
A$=YEAR$+"/"+MONTH$+"/"+DATE$+"/"+WEEK$+"
"+HOUR$+":"+MINUTE$
TEXT 10,10,"5",0,1,1,A$
PRINT 1
EOP
See Also
~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND
Summary of Contents for WPL2
Page 1: ...WPL2 PROGRAMMING MANUAL Wasp Technologies BAR CODE PRINTER SERIES...
Page 5: ...SECOND 105 YEAR 106 MONTH 107 DATE 108 DAY 109 HOUR 110 MINUTE 111 SECOND 112...
Page 8: ...Wasp Technologies 2 Copyright 2001 All Rights Reserved GAP BLINE...
Page 60: ...Wasp Technologies 54 Copyright 2001 All Rights Reserved See Also F FILES...
Page 67: ...Wasp Technologies 61 Copyright 2001 All Rights Reserved See Also DOWNLOAD EOP OPEN READ SEEK...
Page 100: ...Wasp Technologies 94 Copyright 2001 All Rights Reserved See Also SIZE GAP BLINE...
Page 119: ...Wasp Technologies 113 Copyright 2001 All Rights Reserved...
Page 120: ...Last update May 21 2004...