Error 36: Constant expected QuickPascal requires a constant or constant expression at the cursor. You cannot use a variable or an expression that uses variables at this location. Insert a new constant or the appropriate existing constant at the cursor.