kranenborg
Senior Member
Hello,
When one performs a syntax check on a Picaxe program, the Programming Editor (PE) gives a very useful list of used resources at the right-side of the window (Variables, Constants & Labels). With very large programs - in which it becomes inevitable to use a register several times for different, unrelated purposes - I would welcome a fourth category (called "Register Use" or something similar), which gives for each register (byte registers and word registers) the associated variable names as used by the program (and is essentially a re-ordering of the information presented in the Variables category, but now based on the register name). This would greatly simplify program checking for avoiding side-effects caused by incorrect register variable usage, in particular when meaningful variable names are used. Would this be considered useful (i have encountered the need several times, unwanted side-effects are sometimes difficult to trace)?
Best regards,
Jurjen
http://www.kranenborg.org/electronics
When one performs a syntax check on a Picaxe program, the Programming Editor (PE) gives a very useful list of used resources at the right-side of the window (Variables, Constants & Labels). With very large programs - in which it becomes inevitable to use a register several times for different, unrelated purposes - I would welcome a fourth category (called "Register Use" or something similar), which gives for each register (byte registers and word registers) the associated variable names as used by the program (and is essentially a re-ordering of the information presented in the Variables category, but now based on the register name). This would greatly simplify program checking for avoiding side-effects caused by incorrect register variable usage, in particular when meaningful variable names are used. Would this be considered useful (i have encountered the need several times, unwanted side-effects are sometimes difficult to trace)?
Best regards,
Jurjen
http://www.kranenborg.org/electronics