MIES icon indicating copy to clipboard operation
MIES copied to clipboard

Separate @IgorTypes constant block for FunctionInfo and WaveType

Open MichaelHuth opened this issue 8 months ago • 0 comments

Currently the constants are utilized for both because their mapping partially fits.

Though, the mapping for FunctionInfo is different and already overlaps now with some IGOR_TYPE_ constants.

We should split that to different constant blocks.

Table for FunctionInfo from the Help:

Type Decimal Hex
Complex 1 0x1
Single Precision 2 0x2
Variable 4 0x4
Double Precision 4 0x4
Byte 8 0x8
16-bit Integer 16 0x10
32-bit Integer 32 0x20
Unsigned 64 0x40
/WAVE 128 0x80
Data folder reference 256 0x100
Structure 512 0x200
Function reference 1024 0x400
Pass by reference parameter 4096 0x1000
String 8192 0x2000
Wave 16384 0x4000
/Z 32768 0x8000

MichaelHuth avatar Apr 03 '25 11:04 MichaelHuth