Wasp Technologies.
105 Copyright 2001 All Rights Reserved.
SECOND
Description
This variable is used to read from/write to RTC the second data. Two-digits (00~59)
second format is supported by RTC.
Syntax
Write attribute: SECOND=12
Read attribute: A=SECOND
Range: 00~59
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)
IF SECOND<10 THEN SECOND$="0"+STR$(SECOND) ELSE
SECOND$=STR$(SECOND)
WEEK$=STR$(WEEK)
A$=YEAR$+"/"+MONTH$+"/"+DATE$+"/"+WEEK$+"
"+HOUR$+":"+":"+SECOND$
TEXT 10,10,"5",0,1,1,A$
PRINT 1
EOP
See Also
~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND
Содержание WPL305
Страница 1: ...WPL2 PROGRAMMING MANUAL Wasp Technologies BAR CODE PRINTER SERIES...
Страница 5: ...SECOND 105 YEAR 106 MONTH 107 DATE 108 DAY 109 HOUR 110 MINUTE 111 SECOND 112...
Страница 8: ...Wasp Technologies 2 Copyright 2001 All Rights Reserved GAP BLINE...
Страница 60: ...Wasp Technologies 54 Copyright 2001 All Rights Reserved See Also F FILES...
Страница 67: ...Wasp Technologies 61 Copyright 2001 All Rights Reserved See Also DOWNLOAD EOP OPEN READ SEEK...
Страница 100: ...Wasp Technologies 94 Copyright 2001 All Rights Reserved See Also SIZE GAP BLINE...
Страница 119: ...Wasp Technologies 113 Copyright 2001 All Rights Reserved...
Страница 120: ...Last update May 21 2004...