Skip to main content

Compiler Error C0173

Message: '<keyword>' not allowed in this place

Possible error cause: A declaration keyword (example: VAR_INPUT, VAR_OUTPUT, or VAR) is not allowed at this location.

Error correction: Correct the declaration: Inputs and outputs are not useful or necessary in type definitions or global variable lists.

Example 410. Example of the error:
TYPE DUT :
STRUCT
    VAR_INPUT
            member : INT;
    END_VAR
END_STRUCT
END_TYPE

Message:

C0173: 'VAR_INPUT' not allowed in this place

Error correction:

Beispiel:
TYPE DUT :
STRUCT
    member : INT;
END_STRUCT
END_TYPE