mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-05 01:50:25 +00:00
Fixes STRING type detection in vwatch.bm
This commit is contained in:
parent
f7e53e9166
commit
3aff84bba8
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue