Files
MicroST-Compiler/STCompiler.Common/VarType.cs
2025-10-12 19:06:28 +02:00

16 lines
435 B
C#

namespace STCompiler.Common;
// Gemeinsame Variable types für Compiler, Disassembler und Simulator
public enum VarType {
// Boolean
BOOL = 1,
// Unsigned integers
BYTE = 2, WORD = 3, DWORD = 4, LWORD = 5,
// Signed integers
SINT = 6, INT = 7, DINT = 8, LINT = 9,
// Unsigned integers (alternative names)
USINT = 10, UINT = 11, UDINT = 12, ULINT = 13,
// Floating point
REAL = 14, LREAL = 15
}