07-25-2022, 03:11 PM
As you don't show us the actual replace function, I can only make the best guess, that you misspelled the function name in the call in line 9. Hence, the compiler doesn't recognize Replace$ as a function and going to think its an un-DIMed array. But as you give strings in the paranthesis, where an array would expect index numbers, you get the "illegal string-number conversion" error.
It's one of those errors, where the error doesn't really has a connection to the real mistake, but is just caused by a "symtom" of it.
Check the function name, that's most probably the cause of it. (StrReplace$() maybe??)
It's one of those errors, where the error doesn't really has a connection to the real mistake, but is just caused by a "symtom" of it.
Check the function name, that's most probably the cause of it. (StrReplace$() maybe??)
GuiTools, Blankers & other Projects:
https://staging.qb64phoenix.com/forumdisplay.php?fid=32
Libraries & useful Functions:
https://staging.qb64phoenix.com/forumdisplay.php?fid=23
https://staging.qb64phoenix.com/forumdisplay.php?fid=32
Libraries & useful Functions:
https://staging.qb64phoenix.com/forumdisplay.php?fid=23