÷ƒ’À;è TeX output 1996.03.07:1115‹ÿÿÿÿŸ$�Ÿæ��‘î@óò"V cmbx10Â8Žó$ý': cmti10ÏMidnight‘“çMacr–ÿ}'os:‘™–lo“op.texŽŽ ƒ3Ú� ý˜“C��ó4pÚãi( cmssdc10ßlo‘7op.texŽ��’¤MœóKñ`y cmr10«A–U>simple“lo�Goping“construct“(meta-macros).ޤ �’¤MœV‘ÿ*ªersion:›1.0–U>(15“April“1991)“(do�Gc:˜15“Apr“1991)Ž¡�’¤MœCop•¸ãyrigh“t����‘[ž²×cŽŽŽ���‘U>ó !",š cmsy10· ŽŽŽŽ‘ª}«1991–U>Marcel“R.“v‘ÿqÇan“der“Go�GotŽŽŽŸEãŽ�The–ìSmacros“in“lo�Gop.tex“are“inš¸ãtended“to“help“y˜ou“write“y˜our“o˜wn“macros,‘Srather“than“to“t˜yp�Geset“text“directly‘ÿ*ª.ޤ �Consequenš¸ãtly‘ÿ*ª,‘ _it–öbis“assumed“that“y˜ou“ha˜v˜e“some“exp�Gerience“writing“macros;‘In“other“w˜ords,‘ _assume“that“thisŽ¡�whole–Æ section“is“preceded“bš¸ãy“a“\dangerous“b�Gend"“sym˜b�Gol.‘ÃêThese“macros“are“k˜ept“simple“and“are“not“v˜eryŽ¡�robust:‘‚\if–ÝŸyš¸ãou“decide“to“use“them“in“a“di eren˜t“w˜a˜y“than“describšGed“b˜eloš¸ãw“y˜ou“are“en˜tirely“resp�Gonsible“forŽ¡�what‘UUhapp�Gens�Ÿü^ÿóÙ“ Rcmr7®1Ž‘|s«.Ž¡�‘$LošGop.tex–n÷de nes“an“alternativ�¸ãe“to“plain“T�‘þU>Ÿ'EŽ‘ãxX's“óßꟌEŽ›ãxX.)–ÞŠPlain“T�‘þU>Ÿ'EŽ˜X's“È\loop“«is“often“a•¸ãwkw“ard–ÞŠto“use“b�Gecause“of“the“limited“form“of“tests“in“T�‘þU>Ÿ'EŽ˜X.“The“newŽ¡�construct–”Itries“to“alleviate“this“problem“bš¸ãy“allo˜wing“a“more“ exible“use“of“tests“in“the“lošGop.‘1nT‘ÿ*ªo“execute“a“lo˜op,Ž¡�y•¸ãou›�îsa“y˜È\Loop–œF...“\Pool�Ÿü^ÿ®2Ž‘|s«.‘!‘This˜will˜normally˜execute˜the˜lo•Gop˜`b“o“dy',–ž”i.e.,“the˜commands˜corresp�GondingŽ¡�to–Þ%the“dots,‘Yin nitely“manš¸ãy“times.‘ 6There“are“t˜w˜o“sp�Gecial“commands“y˜ou“can“use“within“the“lo�Gop,‘YÈ\BreakŽ¡�«and–FÓÈ\Continue«.‘FBWhen“a“È\Break“«command“is“executed,›ƒ3the“rest“of“the“b•Go“dy–FÓis“ignored,˜and“the“lo�Gop“isŽ¡�terminated.‘ÂÝExecution–Ųof“a“È\Continue“«command“also“causes“the“rest“of“the“b•Go“dy–Ųto“b�Ge“ignored,‘áÉbut“thenŽ¡�the–UUlošGop“is“started“again“from“the“b˜eginning.Ž¡�‘$Both–7¼È\Break“«and“È\Continue“«mš¸ãust“b�Ge“follo˜w˜ed“b˜y“a“n˜um˜b�Ger.‘géThis“n˜um˜bšGer“should“b˜e“the“n•¸ãum“b˜er‘7¼ofŽ¡�È\if...›jä«constructs–@­that“are“terminated“b�¸ãy“the“command.˜In“other“wš¸ãords,‘DÏit“is“the“n˜um˜b�Ger“of“È\fi«'s“that“hasŽ¡�to–�ƒbšGe“`executed'“to“get“prop˜er“balancing“of“all“È\if...–JR«tests.“It–�ƒis“somewhat“unfortunate“that“this“n•¸ãum“b˜erŽ¡�has–í to“bšGe“supplied,‘æbut“there“seems“to“b˜e“no“w•¸ãa“y–í to“close“all“È\if...›O«tests“automatically‘ÿ*ª.˜Here“is“an“exampleŽ¡�similar–UUto“one“from“the“T�‘þU>Ÿ'EŽ‘ãxXb•Go“ok.ŽŸdã��Ÿ¬�‘$È\def\yes{Yes–?ý}“\def\no{No“}Ž¡�‘$\Loop\message{Are–?ýyou“happy?“}Ž¡�‘>?ñ\read-1‘?ýto\answerŽ¡�‘>?ñ\ifx\answer\yes‘?ý\Break1Ž¡�‘>?ñ\else\ifx\answer\no‘?ý\Continue2Ž¡�‘>?ñ\fi‘ ú\fiŽ¡�‘>?ñ\message{(Please–?ýtype“Yes“or“No.)}Ž¡�‘$\PoolŽŽŽŸ�«Aš¸ãt–S¹the“p�Gosition“of“È\Break“«the“nesting“lev˜el“of“È\if...‘lô«tests“is“1,‘“Rat“the“p�Gosition“of“È\Continue“«the“lev˜elŽ¡�is–/@2.‘ÿ‰If“yš¸ãou“forget“the“n˜um˜b�Ger“y˜ou“will“(usually)“get“a“`Èmissing‘—4number«'“error“message,‘e»but“p�Gossibly“atŽ¡�an–í›unexpšGected“p˜oinš¸ãt“in“the“program.‘:™The“wrong“n˜um˜b�Ger“t˜ypically“results“in“either“an“`ÈExtra‘/Ð\fi«'“or“anŽ¡�`È\if...–?üwas“incomplete«'‘UUmessage.Ž¡�‘$There–ÞZcan“b�Ge“anš¸ãy“n˜um˜bšGer“of“È\Break“«and“È\Continue“«commands“in“a“lo˜op,‘ö&although“it“is“wise“to“ha•¸ãv“eŽ¡�at–ìïleast“one“È\Break“«command.‘NûThe“text“folloš¸ãwing“an˜y“of“these“commands“up“till“the“È\Pool“«at“the“end“of“theŽ¡�lo�Gop–´�mš¸ãust“ha˜v˜e“balanced“braces,‘Ì[and“the“lošGop“b˜o˜dy“itself“mš¸ãust“also“ha˜v˜e“balanced“braces.‘�oIf“this“causes“aŽ¡�problem,‘*yš¸ãou–,can“use“È\bgroup“«and“È\egroup“«instead“of“È{“«and“È}«.‘_¹If“y˜ou“w˜an˜t“to“nest“t˜w˜o“lo�Gops,‘*y˜ou“will“ha˜v˜eŽ¡�to–Úöenclose“the“inner“lo�Gop“within“a“group.‘©(Inciden�¸ãtally‘ÿ*ª,‘ü^these“restrictions“on“balancing“braces“and“nestingŽ¡�lo�Gops–UUalso“apply“to“plain“T�‘þU>Ÿ'EŽ‘ãxX's“È\loop“«construct.)ŽŸQðL‰€ÕÁGŸ €���‘•UŸý-:ó¹Aa¨cmr6¯1ŽŽ‘$­Not–ÕXthat“the“author“assumes“anšÃŽy“resp�