From 908a5b179fdb649beb126b7ff11063590b46670e Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Thu, 9 Sep 2021 00:26:51 -0300 Subject: [PATCH] Removes fix046$ from variable names before displaying them. --- source/qb64.bas | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/qb64.bas b/source/qb64.bas index d47324e61..b2d78418c 100644 --- a/source/qb64.bas +++ b/source/qb64.bas @@ -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