When declaring a constant in code, and setting its ORG address after the declaration, the Code Explorer goes blank, same as if you typed something wrong (not in place).
Example:
Code: Select all
Program Code_Explorer_Behaviour
Const MyConst as byte[3] = (10,20,30) org $E000
Sub Procedure Proc_01()
End Sub
Sub Procedure Proc_02()
End Sub
Sub Procedure Proc_03()
End Sub
Sub Procedure Proc_04()
End Sub
Sub Procedure Proc_05()
End Sub
Sub Procedure Proc_06()
End Sub
main:
While (MyConst[2] = 30)
nop
Wend
End.
only...
The code explorer will miss all procedures as well as all the code under the "org $E000" declaration.
In other words code explorer does not recognize the "org" when placed after const declaration.
In the above example : If you comment out the "org $E000" procedures written bellow will show up, otherwise they will be missing.
Now...I am not sure that ORG can be placed after const declaration, but I have try it 100 times and = it WORKS FINE. Yet its not in the help file, ( or I need glasses )
However its will be nice if this can be fixed in the next version, cause working with large codes without code explorer is painful.
Regards