|
发表于 2018-5-28 22:27:17
|
显示全部楼层
来自: 中国江苏无锡
以下红色字体的信息是你要的吗?
$ A. \$ |' W0 H. n" ^pheader$ #Call before start of file
( y" i7 P' O: e7 \- ^ "%", e$" t+ J1 s) X" x0 G
) C4 O8 d) P& P* Q2 v4 W& S sav_spc = spaces$
: P* j: v' x6 a2 |' x6 z spaces$ = 0
; W$ L0 h9 L: m! }; Y2 l& t) X *progno$, sopen_prn, sprogname$, sclose_prn, e$
/ V- A6 N2 E5 n% q8 E #sopen_prn, "PROGRAM NAME - ", sprogname$, sclose_prn, e$
( R# J V' t2 A o sopen_prn, "DATE=DD-MM-YY - ", date$, " TIME=HH:MM - ", time$, sclose_prn, e$ #Date and time output Ex. 12-02-05 15:52
8 ]0 b* E- G4 l: F #sopen_prn, "DATE - ", month$, "-", day$, "-", year$, sclose_prn, e$ #Date output as month,day,year - Ex. 02-12-052 T# z* k& H: F7 B5 K6 k5 S* n
#sopen_prn, "DATE - ", *smonth, " ", day$, " ", *year2, sclose_prn, e$ #Date output as month,day,year - Ex. Feb. 12 2005, U; [. r0 S5 j1 B- d" P }2 S
#sopen_prn, "TIME - ", time$, sclose_prn, e$ #24 hour time output - Ex. 15:528 Q, b; ?3 Z9 v
#sopen_prn, "TIME - ", ptime sclose_prn, e$ #12 hour time output 3:52 PM3 X* s& |8 K5 q+ j4 m; Y! ] Q& ~9 f
spathnc$ = ucase(spathnc$)" ^; a1 D N$ }, F) _5 M9 G
smcname$ = ucase(smcname$)
/ W3 ?1 k. `; m' M stck_matl$ = ucase(stck_matl$)
* Q4 q) `3 o0 n( S0 y3 p snamenc$ = ucase(snamenc$)3 |% l8 P! \4 C
sopen_prn, "MCX FILE - ", *smcpath$, *smcname$, *smcext$, sclose_prn, e$ |
|