Mode: basic-qb45-mode
Basic-mode Version: 1.2.1
When using a backslash (\) within a string in the following code snippet, the syntax highlighting incorrectly disrupts subsequent lines. The issue occurs specifically when defining a string with a backslash, as demonstrated below:
DECLARE SUB func ()
DECLARE SUB func2 ()
DECLARE SUB func3 ()
DECLARE SUB func4 ()
'----------------> THE ISSUE OCCURS AFTER 'image$ = "dir\', due to the backslash \
image$ = "dir\"
PRINT "Loading..."
DEFINT A-Z
DIM SHARED thanks(220 * 10)
DEF SEG = VARSEG(thanks(0))
BLOAD image$ + "thanks.ext", VARPTR(thanks(0))
DEF SEG
DIM SHARED thanks2(220 * 10)
DEF SEG = VARSEG(thanks2(0))
BLOAD image$ + "thanks2.ext", VARPTR(thanks2(0))
DEF SEG