const
MaxQuestionNumber: = 2000;
you need compiler intrinsic constants since this is done at compile time..
if you want this at runtime then you need to use a dynamic array which will resolve the size at runtime using
any form of constant that is integer for example