C behaves just like FB in this case but FreePascal won't tolerate assigning values other than what's in the enum
#include<stdio.h>
enum week{Mon, Tue, Wed, Thur, Fri, Sat, Sun};
int main()
{
enum week day;
day = 17;
printf("%d",day);
return 0;
}
FreePascal
program months;
type
TMonthType = (January=1, February, March, April,May, June, July, August, September, October, November, December);
var Month : TMonthType;
begin
Month:=February;
writeln(Month);
end.