02-08-2026, 02:06 PM
When it comes to many of the QB64PE commands, from what I remember, the slash really doesn't matter. QB64PE will look at your OS and then do the appropriate substitution for you whit regard of slashing. It won't work with SHELL statements, but many of the built in functions like $INCLUDE will swap from / to \ as needed for yout OS.
Or at least... I *think* it used to. I honestly haven't did anything multiplatform for ages. Try this -- it works for me:
HW.bas :
HW Count.bas
The first includes the second, and once compiled you can see that *BOTH* includes are added to the file. The direction of the slash really doesn't change anything with regards to finding the file specified.
Or at least... I *think* it used to. I honestly haven't did anything multiplatform for ages. Try this -- it works for me:
HW.bas :
Code: (Select All)
'$Include:'.\HW count.bas'
'$Include:'./HW count.bas'
HW Count.bas
Code: (Select All)
count = count + 1
Print "Hello World"; count
The first includes the second, and once compiled you can see that *BOTH* includes are added to the file. The direction of the slash really doesn't change anything with regards to finding the file specified.

