|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T p
Length: 603 (0x25b)
Types: TextFile
Names: »plur.c«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Empire.V/V1.1/EMPSUBS/plur.c«
/*
* return plural or singular endings depending on 'n'
*/
char *
plur(n, singular, plural)
int n;
char *singular, *plural;
{
if (n == 1)
return(singular);
else
return(plural);
}
char *
splur(n)
int n;
{
if (n == 1)
return("");
else
return("s");
}
char *
esplur(n)
int n;
{
if (n == 1)
return("");
else
return("es");
}
char *
iesplur(n)
int n;
{
if (n == 1)
return("y");
else
return("ies");
}