|
ANY-maze Help > The ANY-maze reference > The Protocol page > The elements of a protocol > Testing > Procedures > Writing a procedure using the procedure editor > Errors and warnings while writing a procedure > Error: Labels must be unique Error: Labels must be unique
DescriptionThis error is displayed in the list of errors and warnings at the bottom of the procedure editor if the procedure contains more than one label with the same name. More informationLabels are used in a procedure in conjunction with Go to statements to give you control over the flow of a procedure. A procedure uses the name of the label to determine which label to jump to, so if there is more than one label in the procedure with the same name, the procedure can't differentiate between them. For this reason, you need to ensure that the names of all your labels are unique within a procedure. Note that labels are case-sensitive, which means that the same names with different capitalisation are treated as different labels - i.e. 'Start' is a different label to 'start'. However, I'd advise that you don't use the same word with different capitalisation, as it could make the procedure quite confusing! See also:
© Copyright 2003-2026 Stoelting Co. All rights reserved ANY-maze help topic T0514 |