program WIN32CUI 'Sample';
#include 'console.zir';
#include 'ch.zir';
//////////////////////////////
enum DayOfWeek {
Monday = 1, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday,
}
DayOfWeek Today = Sunday;
if (Today > Friday) {
print('Today is a week-end day!\r\n');
} else {
print('Today is a week-day!\r\n');
}
wait_key(nil);
ExitProcess(0);
Today is a week-end day!
Press any key to continue