proc holidayName: string =
when defined(OverlyPoliticallyCorrect):
return "Xmas"
else:
return "Christmas"
proc initDay(day:TDay) =
if day == December.days[25]:
echo "Merry ", holidayName, "!"
for m in NimrodForum.members:
m.mood = mmHappy
m.location = m.family.location
initDay(today)
Very creative. Nice.
Merry Christmas to you and everyone else!
FYI "Xmas" isn't "politically correct", the X is a cross which is basically short for Christ.
http://en.wikipedia.org/wiki/Xmas
"Holidays" isn't even politically correct, really; as it comes from "holy day". If you really want to be P.C. say happy festivus :P