PLURALauthor:MartinKayandJonLWhitefiles:[Eris]--PLURALdocumentation:PLURAL.tedit/pressmodified:10-Dec-84byJonLPLURALisafilecontainingtwomainuser-levelfunctions:"Plural"whichreturnsthepluralformsofsingularnouns,and"Ordinal"whichreturnstheordinalcorrespondingtoagivencardinal.BothfunctionsreturnSTRINGs.PluraltakesaSTRINGoraLITATOMasitsargumentandOrdinaltakesanon-negativeinteger.ThesecondargumenttoPlural,ifnon-null,affectstheresultjustincaseitis1;inthatcase,thefirstargumentis*not*modifiedforplurality(therationaleforthiswillbeclearformtheexamplesbelow).ThesecondargumenttoOrdinal,ifnon-null,causestheoridnalsuffix("th","nd",etc.)tobeupperratherthanlowercase. &D &@ p@|ǀ 8pB' @"  @@$@ D$@0 @ Aŀx` <8 aŏ"x@8@$@ D$@P @< @&@  D# ɐFD" @&@$@ D@ @"|@$  DB  DD" @"@B' D@ @" @$  D  DD" @"@ "$ Dd@ @"@$ D DD&$@&@@$ Dd@ @   8DC@@|>8q'| @  @@>D@"x@>D>D>D|q @@Ȁ|"D2D@ DDD "0B @A@A"DAǀ2D@ DŀD#ŀDŀ&PB DA*D@D@DA@D@* B DBADA"D@B&D@D@DA@D@2@B DCA"DB"@&DD$@D$@D$@"B D@ADI"D"x@D@D@D@|B  DA>81">p>D8pc@>#  B0D"DH@ !xBPD"D@@ x!  | D& <  Bx D@"! @"  B D "A@ a$B DD @& @"$a|pb D>| @#VB V8>@xpp@H  D D @@Hxq`,8`,8O DÁxX 2D82 2Ȃ$D @D A A@"d  D  $D @x A D  D   $D @@A A D  D D2  $Ā @@2A IH"D q 88 aC @@ @0D@8(8  (@ "%(Ņ "&@@"&@ "$@!@ "$@ D@ "d@"$@!@!@8@@8p8 <8qaÀ@"A $@@ Irregularpluralscanbeprovidedforbyputtingtheputtingthemonthepropertylistoftheatomwhoseprintnameisthesingularform,inlowercase,underthenamePLURAL.Thus:K `Kp@A BDBxDB ODB DDB" BLB" 4A p xp  `" "  p"| <@@" "@DB"@!Ï"@D8D"@" D"@D" Ϟ"@"#<@B$"0CȌxB"D"D"(@aH"DDE@B@"D@"D$@"D! "DaG8`C@88#< "8p#  Fortheuserwhowantstoputsuffixestogetherhimself,thefunctionORDINALSUFFIXSTRINGwillreturnonlythe"st","nd","rd",or"th"partthatOrdinalreturns. q?` p` q?` g_p` bh bh `Sq`jj`Sr``S""`Sq``S-..`S ] ] [s`X8[p`[[t`X[P[p`[p  [t`X[ k[p`[![ ZHs`X ZHp`ZH i iZHr`ZH #?(OZH Xs`X Xr`X"X W/s`X^W/r`W/5W/t`XW/tBBW/r`W/HW/ U U Tu Tu oRt`Xp  $ *- 059>w@DHjIIR Pga V$'8+ 46J7^:@x@D*IIP N TY#<$%,.m0!6"8=@A IIN L'#!#(,//25C69:;={=?ZAEGLIIL JM"@$*,/,136:@bBEII/x - ,,1A!$(*.55Y8- ,HII y[!)"& (, gr` g * q?`  + q?`  JJ Yr` Y     t`X plAs %*,2CD%FJJ   >"',H  4 q?`p TIMESROMAN  TIMESROMAN ~GACHA  HELVETICA~SNAILYj/" 7!&{ERIS}LIBRARY>PLURAL.PRESS;4JONL.PA13-Dec-84 04:22:10