1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-02 22:21:21 +00:00

Fixes STRING type detection in vwatch.bm

This commit is contained in:
FellippeHeitor 2021-08-24 15:56:19 -03:00
parent f7e53e9166
commit 3aff84bba8

View file

@ -311,7 +311,7 @@ SUB vwatch (globalVariables AS _OFFSET, localVariables AS _OFFSET)
'find the required element for this array
IF INSTR(vw_varType$, "STRING *") THEN
vw_varSize = VAL(MID$(vw_varType$, _INSTRREV(vw_varType$, " ") + 1))
ELSEIF INSTR(vw_varType$, "STRING") THEN
ELSEIF vw_varType$ = "STRING" THEN
vw_varSize = LEN(vw_dummy%&)
END IF