Neue Architektur
This commit is contained in:
15
STCompiler.Common/VarType.cs
Normal file
15
STCompiler.Common/VarType.cs
Normal file
@ -0,0 +1,15 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user