Vai al contenuto

Typedefs

The purpose of typedefs is to assign alternative names to existing types. No difference between a typedef and its parent type exists, apart from the name.Typedefs can be declared using the following syntax:TYPE : ;END_TYPEFor example, consider the following declaration, mapping the name LONGWORD to the IEC 61131-3 standard type DWORD:TYPElongword : DWORD;END_TYPE