Skip to main content

Compiler Error C0098

Message: The keyword "FUNCTIONBLOCK" is no longer supported. Use "FUNCTION_BLOCK" instead.

Possible error cause: Syntax error

Error correction: Use the keyword "FUNCTION_BLOCK".

Example 378. Example of the error:
PROGRAM PLC_PRG
VAR
     inst : FB;
END_VAR

FUNCTIONBLOCK FB
VAR
END_VAR

Message:

C0098: The keyword "FUNCTIONBLOCK" is no longer supported. Use "FUNCTION_BLOCK" instead.