Error 23: Label must be in the range 0..9999 QuickPascal encountered a label that lies outside the accepted range of label numbers. Change the label to a number between 0 and 9999 or to a unique name. If the label is referred to frequently, use the Replace command with the Verify option.