I'm getting a similar result., in the Debugger … while the Output itself remains correct.
Now I also added a second Variable with "///////", just to see if these were being reversed in the Debugger (which would make sense depending on if it was using Linux or Windows Unicode) … but nope., they're both being read the same in the Debugger; while the Application itself is handling them as you'd expect.
// Project: test78
// Created: 19-11-22
// show all errors
SetErrorMode(2)
// set window properties
SetWindowTitle( "query slash" )
SetWindowSize( 1024, 768, 0 )
SetWindowAllowResize( 1 ) // allow the user to resize the window
// set display properties
SetVirtualResolution( 1024, 768 ) // doesn't have to match the window
SetOrientationAllowed( 1, 1, 1, 1 ) // allow both portrait and landscape on mobile devices
SetSyncRate( 30, 0 ) // 30fps instead of 60 to save battery
SetScissor( 0,0,0,0 ) // use the maximum available screen space, no black borders
UseNewDefaultFonts( 1 )
#Constant BSL Chr(0x5c)
// note: these all output the same in the debug watchlist
name1 as string = "\\\\\\"
name2 as string = "//////"
name3 as string : name3 = BSL + BSL + BSL + BSL + BSL + BSL
do
Sync()
loop