Hi guys
following another thread
https://www.qb64.org/forum/index.php?topic=1407.msg105935#msg105935 I use this code in QB64IDE 1.2[dev build] 81063e1
PRINT A
= (B
= (C
= (D
= (E
= (F
= 0))))) PRINT A
= B
= C
= D
= F
= 0
and I got a strange behaviour of parser (or only of colorizer? I don't know the internal structure of QBIDE64). About what am I talking? see attachment of the link below... if you can see the code shows variable names D and E with the same color of numbers...
Why? It may be that Parser see D like &HD and E like &HE !
yes and Why not F? O_o
going on with experience to catch the bug...
and if doesn't parser recognize that they are names of variables?
Well, we add as first line the all_Loved
and it seems to solve the issue
see attachment1 image
[ You are not allowed to view this attachment ]
but just if you press F5 to compile after starting the compiled code the QB64IDE shows again the wrong color for D and E. :-(
[ You are not allowed to view this attachment ]
Sorry the same seems to happen with QB64IDE 1.3 stable version 96937f0 :-((
[ You are not allowed to view this attachment ]
More experiences
If I add DEFINT A-Z the ide normalizes the color of D and E
then if I put ' at the beginning of the first line (i rem first line of code) the right color of D and E as variable stays, also after compiling the code.
Thanks to read