I need to create 256 variable names " V1,V2,V3,V4......V256"
how can i do it automatically instead of declaring each manually ?!
FYI: each variable contains 8 bits stored in it ...
An array?
You do get some credit for asking before doing it. Sometimes this results in "my code is too large to post", when a typo in 'V202' goes unnoticed.
array didnt work, i guess for memory reasons
adolfhack:
array didnt work, i guess for memory reasons
Highly doubtful. Post your code. Also please detail what "didn't work".
adolfhack:
array didnt work, i guess for memory reasons
Array will take the same space as the individual variables, unless there is something unusual you are not telling us.