|
|
发表于 2018-5-28 22:27:17
|
显示全部楼层
来自: 中国江苏无锡
以下红色字体的信息是你要的吗?1 `- |7 c2 s# `! P ]. U1 U
pheader$ #Call before start of file
2 p1 N- z5 a T, x5 L$ {" V" v "%", e$: Z/ ]; h/ j) u% @5 P3 o
7 F; E" V: F. Y; j) q+ S sav_spc = spaces$. @4 U# C, C% Y9 e' L
spaces$ = 0' i" `( p- R1 P$ a3 o
*progno$, sopen_prn, sprogname$, sclose_prn, e$4 S6 W5 e e; A+ x. N* s. G0 M# L1 T
#sopen_prn, "PROGRAM NAME - ", sprogname$, sclose_prn, e$* I: k" x6 O7 y& [4 S- ~
sopen_prn, "DATE=DD-MM-YY - ", date$, " TIME=HH:MM - ", time$, sclose_prn, e$ #Date and time output Ex. 12-02-05 15:52' L& }4 Q$ c0 Q I1 a
#sopen_prn, "DATE - ", month$, "-", day$, "-", year$, sclose_prn, e$ #Date output as month,day,year - Ex. 02-12-05# k* V1 Z1 K. d p
#sopen_prn, "DATE - ", *smonth, " ", day$, " ", *year2, sclose_prn, e$ #Date output as month,day,year - Ex. Feb. 12 2005
6 A' k! X. K; m #sopen_prn, "TIME - ", time$, sclose_prn, e$ #24 hour time output - Ex. 15:52# A5 P# r' v8 h
#sopen_prn, "TIME - ", ptime sclose_prn, e$ #12 hour time output 3:52 PM
7 V$ u3 N( `8 a' }5 T spathnc$ = ucase(spathnc$)5 w6 A2 ]' a1 y* k& z& f
smcname$ = ucase(smcname$)
C q6 D# y0 z( ?% e8 F stck_matl$ = ucase(stck_matl$)1 D7 s- @0 j d
snamenc$ = ucase(snamenc$)
% l/ G% ^) h, O2 P7 G sopen_prn, "MCX FILE - ", *smcpath$, *smcname$, *smcext$, sclose_prn, e$ |
|