De facto it's only one string at the moment :P
Example of failing code (de-compilation, CoM):
SYSTEMTIMEPTR = MEM_ALLOC(16);
CALL_PTRPARAM(SYSTEMTIMEPTR);
CALL__STDCALL(GETLOCALTIME);
TIMESTR = INTTOSTRING(MEM_READINT(SYSTEMTIMEPTR) & 2047);
TIMESTR = CONCATSTRINGS(CONCATSTRINGS(TIMESTR, "-"), INTTOSTRING(MEM_READINT(SYSTEMTIMEPTR + 2) & 2047));
TIMESTR = CONCATSTRINGS(CONCATSTRINGS(TIMESTR, "-"), INTTOSTRING(MEM_READINT(SYSTEMTIMEPTR + 6) & 2047));
TIMESTR = CONCATSTRINGS(CONCATSTRINGS(TIMESTR, " "), INTTOSTRING(MEM_READINT(SYSTEMTIMEPTR + 8) & 2047));
TIMESTR = CONCATSTRINGS(CONCATSTRINGS(TIMESTR, ":"), INTTOSTRING(MEM_READINT(SYSTEMTIMEPTR + 10) & 2047));
TIMESTR = CONCATSTRINGS(CONCATSTRINGS(TIMESTR, ":"), INTTOSTRING(MEM_READINT(SYSTEMTIMEPTR + 12) & 2047));
MEM_FREE(SYSTEMTIMEPTR);
MEM_INFO("");
ZERROR_SETTEMPLEVEL(1);
MEM_INFO(CONCATSTRINGS("Time: ", TIMESTR));
Nested CONCATSTRINGS cause corruption of _m_temporary_strings. Replacing to arbitrary larger size works, however proper dynamic allocation would be ideal.
De facto it's only one string at the moment :P
Example of failing code (de-compilation, CoM):
Nested
CONCATSTRINGScause corruption of_m_temporary_strings. Replacing to arbitrary larger size works, however proper dynamic allocation would be ideal.