When I set a value for a constant using Symbol, the value is displayed (after syntax check) if the mouse hovers over the name. If the constant involves arithmetic, the value displayed is just the name of the symbol on the right of the calculation. This short code shows the effect: hovering over numtl1 shows HOWMANYLEDS but hovering over HOWMANYLEDS shows 128 and other versions of the true value
If the hovering is done during a break in the simulation, hovering over these constant names doesn't show anything.
I think it would be useful if these calculated constants showed their true values and if they could all show their values in the simulator.
Incidentally, i would also find it useful to be able to include more than one step of arithmetic when giving a value for a symbol. In the above example, I don't need numtl1 so it would be good to be allowed to write
Symbol numtl2=HOWMANYLEDS - 1`/ 64
Any chance of making these changes to PE6?
Derek
Code:
Symbol HOWMANYLEDS = 128
symbol numtl1=HOWMANYLEDS - 1
symbol numtl2=numtl1 / 64
b0=numtl2
b1=numtl1
I think it would be useful if these calculated constants showed their true values and if they could all show their values in the simulator.
Incidentally, i would also find it useful to be able to include more than one step of arithmetic when giving a value for a symbol. In the above example, I don't need numtl1 so it would be good to be allowed to write
Symbol numtl2=HOWMANYLEDS - 1`/ 64
Any chance of making these changes to PE6?
Derek