You are welcome Harri, and it looks like that is the next thing to fix while I am in here.
int d[5][5];
d[5][5] = 3;
show_message(string(d[5][5]));
Gives me...
C:/ProgramData/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:54:17: error: expression cannot be used as a function
d[int(5)] (5)= 3;
^
C:/ProgramData/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:55:39: error: expression cannot be used as a function
show_message(toString(d[int(5)] (5) ));
^
So I still have some work to do, I'll try and see if I can get it fixed.
Edit: I fixed the multi-dimensional arrays as well in the following commit.
https://github.com/enigma-dev/enigma-dev/pull/908int d[5][5][5];
d[5][5][5] = 4;
show_message(string(d[5][5][5]));
Will now properly parse into the following.
int d[5] [5] [5];
d[int(5)] [int(5)] [int(5)]= 4;
show_message(toString(d[int(5)] [int(5)] [int(5)] ));
Edit: Fixes tested and merged.
https://github.com/enigma-dev/enigma-dev/pull/908