Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20897

BASCOM-AVR : printbin array length of a variable? : REPLY

$
0
0
Does Peersize really have to be a variable in your application ? Whie I can imagine cases where that might be useful, my impression is that for the very few times you might want to control the number of elements printed from an array within the program, you might as well use a loop. That at least offers the most flexibility, like printing from say element 15 to element 23, both under program control. You would need a complex addition to the compiler to handle that, and who would remember it ? I know that Bascom has gone well past the original acronym of Basic, but I still feel its better to limit the number of commands and the complexity of the syntax, and let users learn them well enough to be able to do anything they can construct.

Viewing all articles
Browse latest Browse all 20897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>