📄 m4.9
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 14:26:44 1996%%Pages: (atend)%%DocumentFonts: (atend)/devps 180 dict def devps begin/res 10.000000 def/y_offset 843 def/X{exch}bind def/mm {transform round X round X itransform} bind def/r{rmoveto}bind def/m{moveto}bind def/l{lineto}bind def/rl{rlineto}bind def/st{stroke}bind def/gs{gsave}bind def/gr{grestore}bind def/cp{currentpoint}bind def/np{newpath}bind def/ct{curveto}bind defsystemdict /setpacking known { /savepacking currentpacking def true setpacking } if/m0{0 0 moveto}bind def/xc{//res div}bind def/yc{//res neg div //y_offset add}bind def/lc{yc X xc X l st}bind def/mc{yc X xc X m}bind def/el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def/ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def/sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def/V{//res neg div //y_offset addcurrentpoint pop Xm}bind def/H{//res div0 transform X round X itransform popcurrentpoint X popmoveto}bind def/h{//res div 0 r}bind def/v{//res neg div 0 X r}bind def/S{X H show}bind def/A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def/psize 10 def/height 0 def/cheight { height 0 ne { height } { psize } ifelse } bind def/slant 0 def/FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def [psize 0 cheight slant sin slant cos div mul cheight 0 0] makefont setfont}bind def/shade{gs /dy X def /dx X def np m 0 /dy rl /dx 0 rl 0 /dy neg rl /dx neg 0 rl closepath .9 setgray fillgr}bind def1 setlinecap/resolution res 72 mul def/startFig { /SavedState save def userdict maxlength dict begin currentpoint transform DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap setlinewidth setmatrix itransform moveto /ury exch def /urx exch def /lly exch def /llx exch def /y exch 72 mul resolution div def /x exch 72 mul resolution div def currentpoint /cy exch def /cx exch def /sx x urx llx sub div def /sy y ury lly sub div def sx sy scale cx sx div llx sub cy sy div ury sub translate /DefFigCTM matrix currentmatrix def /initmatrix { DefFigCTM setmatrix } def /defaultmatrix { DefFigCTM exch copy } def /initgraphics { DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap setlinewidth setmatrix DefFigCTM setmatrix } def /showpage { initgraphics } def}bind def/clipFig { currentpoint 6 2 roll newpath 4 copy 4 2 roll moveto 6 -1 roll exch lineto exch lineto exch lineto closepath clip newpath moveto}bind def/doclip { llx lly urx ury clipFig } def/endFig { end SavedState restore}bind def/globalstart { fontnum psize slant height resolution currentpoint pagesave restore gsave }bind def/globalend { grestore moveto /resolution exch def /height exch def /slant exch def /psize exch def /fontnum exch def F /pagesave save def}bind def/fontnum 1 def systemdict /setpacking known { savepacking setpacking} ifend/BP{save mark devps begin m0/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecapcurrentlinejoin currentdash currentgray currentmiterlimit ] cvx def}bind def/EP{end cleartomark restore showpage}def/R{/Times-Roman FF}def/B{/Times-Bold FF}def/I{/Times-Italic FF}def%%EndProlog%%Page: 1 1BP/slant 0 def/height 0 def858 V12 B936(Command:)S1584(m4)S1775(\261)S1865(macro)S2224(processor)S996 V936(Syntax:)S1584(m4)S12 R1775([)S12 B1816(\261D)S12 I1994(name)S12 R2286(=)S12 I2384(value)S12 R2646(])S2717([)S12 B2758(\261U)S12 I2936(name)S12 R3198(])S1134 V12 B936(Flags:)S1584(\261D)S12 R1764(De\256ne)S2117(a)S2201(symbol)S1272 V12 B1584(\261U)S12 R1764(Unde\256ne)S2237(a)S2321(symbol)S1410 V12 B936(Example:)S12 R1584(m4)S1768(<m4test)S2916(#)S3006(Run)S3236(M4)S1584 V12 I1116(M4)S12 R1320(is)S1444(a)S1541(macro)S1888(processor)S2396(intended)S2856(as)S3001(a)S3099(front)S3379(end)S3597(for)S3783(Ratfor,)S4167(Pascal,)S4551(and)S4769(other)S1722 V(languages)483 936 A1460(that)S1683(do)S1844(not)S2039(have)S2308(a)S(built-in)357 2403 A2801(macro)S3144(processing)S(capability.)508 3701 A4279(M4)S4486(reads)S4782(stan-)S1860 V936(dard)S(input,)278 1181 A1489(the)S1667(processed)S2174(text)S2386(is)S(written)345 2497 A2872(on)S3022(the)S3200(standard)S3640(output.)S2034 V1116(The)S1334(options)S1719(and)S1923(their)S2176(effects)S2531(are)S2710(as)S2841(follows:)S2310 V1296(\261D)S1474(name[=val])S2196(De\256nes)S2596(name)S2888(to)S3012(val,)S3220(or)S3351(to)S3475(null)S3693(in)S3817(val's)S4083(absence.)S2448 V1296(\261U)S1474(name)S2196(Unde\256nes)S2716(name.)S2760 V1116(Macro)S1462(calls)S1715(have)S1973(the)S2151(form:)S2451(name\(arg1,arg2,)S(...,)120 3274 A3424(argn\))S3036 V936(The)S1161(`)S(`\(')123 1192 A1305(')S1383(must)S1655(immediately)S2298(follow)S2652(the)S2837(name)S3136(of)S3274(the)S3459(macro.)S3829(If)S3948(the)S4133(name)S4432(of)S4571(a)S4663(de\256ned)S3174 V936(macro)S1271(is)S1384(not)S1570(followed)S2033(by)S2184(a)S2269(\()S2341(it)S2440(is)S2552(taken)S2845(to)S2970(be)S3115(a)S3200(call)S3407(of)S3539(that)S3752(macro)S4086(with)S4333(no)S4484(arguments,)S3312 V936(i.e.)S1114(name\(\).)S1548(Potential)S2009(macro)S2342(names)S2681(consist)S3047(of)S3178(alphabetic)S3706(letters)S4034(and)S4238(digits.)S3486 V1116(Leading)S(unquoted)448 1551 A2038(blanks,)S2422(tabs)S2656(and)S2869(newlines)S3339(are)S(ignored)369 3527 A3935(while)S4244(collecting)S4762(argu-)S3624 V936(ments.)S1317(Left)S1552(and)S1758(right)S2019(single)S(quotes)315 2340 A2687(are)S2868(used)S3121(to)S(quote)268 3247 A3547(strings.)S3961(The)S4180(value)S4473(of)S4605(a)S(quoted)328 4690 A3762 V936(string)S1242(is)S1353(the)S1531(string)S1837(stripped)S2257(of)S2388(the)S(quotes.)345 2566 A3936 V1116(When)S1439(a)S1528(macro)S1866(name)S2163(is)S(recognized,)561 2279 A2875(its)S3025(arguments)S3564(are)S3748(collected)S4221(by)S4376(searching)S4876(for)S4074 V936(a)S1027(matching)S1514(\).)S1652(If)S1771(fewer)S2086(arguments)S2627(are)S(supplied)409 2813 A3259(than)S3503(are)S3688(in)S3818(the)S4002(macro)S(de\256nition,)493 4341 A4870(the)S4212 V(trailing)351 936 A1319(arguments)S1855(are)S2036(taken)S2330(to)S2456(be)S2603(null.)S2884(Macro)S3233(evaluation)S(proceeds)430 3770 A4233(normally)S4703(during)S4350 V936(the)S1116(collection)S1626(of)S1759(the)S1939(arguments,)S2505(and)S2711(any)S2917(commas)S3352(or)S3485(right)S3746(parentheses)S4343(which)S4670(happen)S4488 V936(to)S1068(turn)S1302(up)S1461(within)S1810(the)S1997(value)S2298(of)S2438(a)S2531(nested)S2879(call)S3094(are)S3282(as)S3422(effective)S3887(as)S4027(those)S4321(in)S4454(the)S4641(original)S4626 V(input)248 936 A1223(text.)S1504(\(This)S1799(is)S1919(typically)S2382(referred)S2806(as)S2975(inside-out)S3497(macro)S3838(expansion.\))S4466(After)S4762(argu-)S4764 V936(ment)S1221(collection,)S1772(the)S1963(value)S2268(of)S2413(the)S2605(macro)S2952(is)S3077(pushed)S3462(back)S3734(onto)S3992(the)S(input)248 4184 A4476(stream)S4844(and)S4902 V936(rescanned.)S5076 V1116(M4)S1319(makes)S1664(available)S2138(the)S2322(following)S(built-in)357 2829 A3222(macros.)S3668(They)S3952(may)S4196(be)S4347(rede\256ned,)S4864(but)S5214 V936(once)S1195(this)S1401(is)S(done)234 1513 A1778(the)S1956(original)S2363(meaning)S2809(is)S2920(lost.)S3185(Their)S3478(values)S3817(are)S3996(null)S4214(unless)S4546(otherwise)S5352 V936(stated.)S5526 V12 B1116(de\256ne)S1474("\(name)S1913([,)S2033(val]\)")S12 R2385(the)S(second)335 2582 A2966(argument)S3472(is)S3602(installed)S4062(as)S4212(the)S4409(value)S4720(of)S4870(the)S5664 V936(macro)S1276(whose)S1622(name)S1921(is)S2039(the)S2224(\256rst)S2450(argument.)S3004(If)S3123(there)S3403(is)S3521(no)S(second)335 3678 A4049(argument,)S4572(the)S4756(value)S5802 V936(is)S1072(null.)S1375(Each)S1672(occurrence)S2259(of)S2415($)S2530(n)S2645(in)S2794(the)S(replacement)593 2997 A3645(text,)S3913(where)S4266(n)S4382(is)S4519(a)S4629(digit,)S4937(is)S5940 V(replaced)411 936 A1397(by)S1566(the)S1763(n)S1872(-th)S2056(argument.)S2622(Argument)S3162(0)S3271(is)S3401(the)S3598(name)S3909(of)S4059(the)S4256(macro;)S4642(missing)S6078 V936(arguments)S1470(are)S(replaced)411 1649 A2090(by)S2240(the)S2418(null)S2636(string.)S6252 V12 B1116(defn)S1398("\(name)S1841([,)S1965(name)S(...]\)")239 2300 A12 R2592(returns)S2982(the)S(quoted)328 3183 A(de\256nition)463 3564 A4080(of)S4234(its)S4402(argument\(s\).)S6390 V936(Useful)S1290(in)S1414(renaming)S1901(macros.)S6564 V12 B(unde\256ne)443 1116 A1597("\(name)S2025([,)S2134(name)S(...]\)")239 2454 A12 R2731(removes)S3179(the)S(de\256nition)463 3366 A3868(of)S4008(the)S4195(macro\(s\))S4666(named.)S6702 V936(If)S1062(there)S1349(is)S1474(more)S1767(than)S2019(one)S(de\256nition)463 2236 A2742(for)S2927(the)S3118(named)S3483(macro,)S3859(\(due)S4117(to)S4254(previous)S4713(use)S4917(of)S6840 V936(pushdef\))S1389(all)S(de\256nitions)510 1541 A2081(are)S2260(removed.)S7014 V12 B1116(pushdef)S1583("\(name)S2030([,)S2158(val]\)")S12 R2518(like)S2757(de\256ne,)S3139(but)S3351(saves)S3671(any)S3903(previous)S(de\256nition)463 4377 A4898(by)S7152 V936(stacking)S1369(the)S1547(current)S(de\256nition.)493 1921 A8427 VEP%%Page: 2 2BP/slant 0 def/height 0 def1380 V12 B1116(popdef)S1523("\(name)S1964([,)S2086(name)S(...]\)")239 2419 A12 R2709(removes)S3171(current)S(de\256nition)463 3567 A4082(of)S4235(its)S4402(argument\(s\),)S1518 V(exposing)435 936 A1401(the)S1579(previous)S2025(one)S2229(if)S2334(any.)S1692 V12 B1116(ifdef)S1389("\(name,)S1845(if-def)S2159([,)S(ifnot-def]\)")595 2266 A12 R2897(if)S3008(the)S3193(\256rst)S3419(argument)S3913(is)S4031(de\256ned,)S4453(the)S4638(value)S4937(is)S1830 V936(the)S(second)335 1118 A1487(argument,)S2008(otherwise)S2514(the)S2696(third.)S3019(If)S3135(there)S3412(is)S3526(no)S3679(third)S3941(argument,)S4461(the)S4642(value)S4937(is)S1968 V936(null.)S1229(A)S1362(word)S1656(indicating)S2185(the)S2378(current)S2768(operating)S3271(system)S3653(is)S3780(prede\256ned.)S4396(\(e.g.)S4657(unix)S4917(or)S2106 V936(vms\).)S2280 V12 B1116(shift)S1394("\(arg,)S1754(arg,)S2006(arg,)S(...\)")198 2258 A12 R2504(returns)S2889(all)S3059(but)S3261(its)S3424(\256rst)S3661(argument.)S4227(The)S4464(other)S4762(argu-)S2418 V936(ments)S1263(are)S(quoted)328 1450 A1816(and)S2028(pushed)S2407(back)S2673(with)S2926(commas)S3366(in)S3497(between.)S3998(The)S(quoting)368 4223 A(nulli\256es)390 4628 A2556 V936(the)S1114(effect)S1422(of)S1553(the)S1731(extra)S2004(scan)S2249(that)S(will)190 2461 A2681(subsequently)S3341(be)S3485(performed.)S2730 V12 B1116(changequote)S1803("\(lqchar,)S2313(rqchar\)")S12 R2813(change)S(quote)268 3191 A3495(symbols)S3933(to)S4063(the)S4247(\256rst)S4472(and)S(second)335 4683 A2868 V936(arguments.)S1538(With)S1818(no)S1976(arguments,)S2548(the)S(quotes)315 2734 A3087(are)S3273(reset)S3540(back)S3805(to)S3936(the)S4121(default)S4495(characters.)S3006 V936(\(i.e.,)S(`'\).)153 1185 A3180 V12 B1116(changecom)S1740("\(lcchar,)S(rcchar\)")451 2248 A12 R2746(change)S3135(left)S3346(and)S3568(right)S3845(comment)S4343(markers)S4782(from)S3318 V936(the)S1131(default)S1515(#)S1622(and)S1843(newline.)S2334(With)S2623(no)S2790(arguments,)S3371(the)S3566(comment)S
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -