|
|
发表于 2018-5-28 22:27:17
|
显示全部楼层
来自: 中国江苏无锡
以下红色字体的信息是你要的吗?
; a1 B) D; X! h) `) p* b; xpheader$ #Call before start of file 4 a* ?9 @) [) q; @: X) t( q
"%", e$
* }( B4 J2 t9 c& |( E" w* W9 E 3 d9 Q8 x9 z3 b- x9 |8 x7 b
sav_spc = spaces$
& D# y) e! S/ l. \3 c spaces$ = 0* {; z' L4 m# c* [
*progno$, sopen_prn, sprogname$, sclose_prn, e$$ L8 r. H! u' Q% B- i
#sopen_prn, "PROGRAM NAME - ", sprogname$, sclose_prn, e$
4 X: [0 |& c( s% B, L+ K sopen_prn, "DATE=DD-MM-YY - ", date$, " TIME=HH:MM - ", time$, sclose_prn, e$ #Date and time output Ex. 12-02-05 15:529 y( m3 m1 x [# p/ }, ?- Z
#sopen_prn, "DATE - ", month$, "-", day$, "-", year$, sclose_prn, e$ #Date output as month,day,year - Ex. 02-12-05& t/ A% _% O2 o, v! K
#sopen_prn, "DATE - ", *smonth, " ", day$, " ", *year2, sclose_prn, e$ #Date output as month,day,year - Ex. Feb. 12 2005
) j& A6 D! L7 z0 S3 k9 N$ x #sopen_prn, "TIME - ", time$, sclose_prn, e$ #24 hour time output - Ex. 15:52: a; \/ G& ]& Y% N! P5 ^1 J
#sopen_prn, "TIME - ", ptime sclose_prn, e$ #12 hour time output 3:52 PM
$ T( a* M: d8 t spathnc$ = ucase(spathnc$)1 M4 v$ k$ G# y3 Y
smcname$ = ucase(smcname$)
3 q1 h, r7 Y! b/ Q5 O/ x7 Q# z stck_matl$ = ucase(stck_matl$)
! S6 S$ w! X6 T: l" p9 _ snamenc$ = ucase(snamenc$)
( Y0 W+ i0 d' d1 G5 z sopen_prn, "MCX FILE - ", *smcpath$, *smcname$, *smcext$, sclose_prn, e$ |
|