0

我正在编写以下代码,但我不明白出了什么问题

    USER_INPUT = INPUT
    
    MESSAGE = USER_INPUT 
    COUNT = SIZE(USER_INPUT)    
    


    
    ARRAY_OF_CHAR = DUPL('-',50 - SIZE(50))
    VALID_ARRAY = ''
    FORWARD_ORDER = ''
    REVERSE_ORDER = ''  
    
    PATTERN = ('0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z' | 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z') $ A
    HYPHEN = ('-') $ H

        LT(COUNT,1) :S(FAILURE_MESSAGE) F(NEXT_CHECK)
NEXT_CHECK  GT(COUNT,50) :S(FAILURE_MESSAGE) F(PATTERN_CHECK)
FAILURE_MESSAGE MESSAGE = 'Invalid: input should contain 1 to 50 chracters.' :(OUTPUT_3)

PATTERN_CHECK   USER_INPUT PATTERN = :S(ADD_IN_ARRAY) F(HYPHEN_CHECK)
ADD_IN_ARRAY    ARRAY_OF_CHAR = ARRAY_OF_CHAR '' A :(PATTERN_CHECK)

HYPHEN_CHECK    ARRAY_OF_CHAR HYPHEN = :S(HYPHEN_CHECK) F(PATTERN_CHECK_2)
PATTERN_CHECK_2 ARRAY_OF_CHAR PATTERN = :S(VALID_1) F(TO_REVERSE)
VALID_1 VALID_ARRAY = VALID_ARRAY '' A :(FORWARD_1)
FORWARD_1   FORWARD_ORDER = FORWARD_ORDER A ', ' :(REVERSE_1)
REVERSE_1   REVERSE_ORDER = REVERSE_ORDER ' ,' A :(PATTERN_CHECK_2)

TO_REVERVE  REVERSE_ORDER = REVERSE(REVERSE_ORDER) :(MESSAGE_1)

MESSAGE_1   MESSAGE = 'Valid Characters : ' VALID_ARRAY '' :(OUTPUT_1)
OUTPUT_1    OUTPUT = MESSAGE

    MESSAGE = 'Orignal Order : ' FORWARD_ORDER '' :(OUTPUT_2)
OUTPUT_2    OUTPUT = MESSAGE

    MESSAGE = 'Reverse Order : ' REVERSE_ORDER '' :(OUTPUT_3)
OUTPUT_3    OUTPUT = MESSAGE    

END

里面有什么错误请解释一下?

此错误消息

 .code.tio:26: Error 24 in statement 26 at level 0
 Undefined or erroneous goto
4

0 回答 0