01-10-2023, 06:21 PM
It won't change it inside your code automatically, but most of the file commands will work with it either way for you. Where you'd have to be careful is with SHELL and such. SHELL "./foo \e /a" <-- is \e a path? or /a? Or both params of foo? Who knows!! So, QB64 won't mess with those for you, so you'll have to have your slashes right then, for your programs.
As for _LOADIMAGE though? I *think* it doesn't really matter, as QB64 will swap those slashes to what's proper, before loading the file for you. (I say I *think*, because QB64 has a dozen different load routines inside it for files, includes, fonts, sounds, ect, ect. There's always an off chance that some of those missed out on the internal swapping of slashes.)
If you can test it, and it works, all is fine. If you can't test it for yourself, and are in doubt of the behavior, swap them out manually. Better to play it safe than sorry, in my opinion.
As for _LOADIMAGE though? I *think* it doesn't really matter, as QB64 will swap those slashes to what's proper, before loading the file for you. (I say I *think*, because QB64 has a dozen different load routines inside it for files, includes, fonts, sounds, ect, ect. There's always an off chance that some of those missed out on the internal swapping of slashes.)
If you can test it, and it works, all is fine. If you can't test it for yourself, and are in doubt of the behavior, swap them out manually. Better to play it safe than sorry, in my opinion.