|
|
发表于 2018-5-28 22:27:17
|
显示全部楼层
来自: 中国江苏无锡
以下红色字体的信息是你要的吗?; w( ?& ?/ k9 n$ N5 ~
pheader$ #Call before start of file
7 [, J/ b9 a3 Y6 u' B, D5 s1 S7 F- h0 _- R "%", e$
6 a" ?( G4 R x3 W5 c1 ^ % w% h, B9 h) m4 L( h* a9 F& ~
sav_spc = spaces$
! J% F }& [, q- ]; I: L spaces$ = 0
! U" u, k$ p* U3 r4 c- |' E4 Q *progno$, sopen_prn, sprogname$, sclose_prn, e$$ Y: o& p- |; A$ d- G
#sopen_prn, "PROGRAM NAME - ", sprogname$, sclose_prn, e$3 b0 M" p+ [" Y$ {
sopen_prn, "DATE=DD-MM-YY - ", date$, " TIME=HH:MM - ", time$, sclose_prn, e$ #Date and time output Ex. 12-02-05 15:526 V: o2 h5 Y# F: K2 V
#sopen_prn, "DATE - ", month$, "-", day$, "-", year$, sclose_prn, e$ #Date output as month,day,year - Ex. 02-12-05- Y8 }9 _- L9 N; a2 A
#sopen_prn, "DATE - ", *smonth, " ", day$, " ", *year2, sclose_prn, e$ #Date output as month,day,year - Ex. Feb. 12 2005
+ ]2 `' k* P: o #sopen_prn, "TIME - ", time$, sclose_prn, e$ #24 hour time output - Ex. 15:52
; j2 W0 h* H; _# z+ V5 Y #sopen_prn, "TIME - ", ptime sclose_prn, e$ #12 hour time output 3:52 PM
: K! d* l V: w, D. Q spathnc$ = ucase(spathnc$)
c/ C8 d3 Y9 X- s smcname$ = ucase(smcname$)
8 L9 |) `; ~! k- m stck_matl$ = ucase(stck_matl$)- V( _+ d( ?2 v4 K G1 }$ H
snamenc$ = ucase(snamenc$)* D' C6 ^. l% i# Q
sopen_prn, "MCX FILE - ", *smcpath$, *smcname$, *smcext$, sclose_prn, e$ |
|