It was like that:
1. I've opened IDE
2. Loaded project, did something, ran it several times, saved & closed
3. Opened another code file (not project), and here bug appeared
In following code string "pMin = " just MISSED from ReplaceString() return and only result of StrF was used, that happened both when running with debugger and in resulting exe.
I wasted 30min trying to find wtf is wrong with code, testing with all those purifiers and so on. And then I just restarted IDE and bug disappeared
It looks to be some general compiler bug, not with ReplaceString() or StrF() or other library functions.
Code: Select all
PAGE_LINK_MAIN$ = ReplaceString(PAGE_LINK_MAIN$, "%S4", "pMin = " + StrF(n_pMin / 1024, 1), #PB_String_CaseSensitive, 1, 1)




