mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-05 03:00:25 +00:00
Removes fix046$ from variable names before displaying them.
This commit is contained in:
parent
133805181e
commit
908a5b179f
|
@ -25997,6 +25997,12 @@ SUB manageVariableList (__name$, __cname$, localIndex AS LONG, action AS _BYTE)
|
|||
usedVariableList(i).varType = id2fulltypename$
|
||||
usedVariableList(i).cname = cname$
|
||||
usedVariableList(i).localIndex = localIndex
|
||||
|
||||
'remove eventual instances of fix046$ in name$
|
||||
DO WHILE INSTR(name$, fix046$)
|
||||
x = INSTR(name$, fix046$): name$ = LEFT$(name$, x - 1) + "." + RIGHT$(name$, LEN(name$) - x + 1 - LEN(fix046$))
|
||||
LOOP
|
||||
|
||||
IF LEN(RTRIM$(id.musthave)) > 0 THEN
|
||||
usedVariableList(i).name = name$ + RTRIM$(id.musthave)
|
||||
ELSE
|
||||
|
|
Loading…
Reference in a new issue