Quote:
|
Originally Posted by 1885.Blake
Art,
You show the variable example_array being declared twice. I don't think that is necessary (I also don't think that it is necessarily harmful, but it can lead to confusion). Was that done on purpose, or was it accidental?
Blake
|
I'm not sure if it is necessary in EasyC 2.0, but I know in EasyC 1 I would sometimes get errors when trying to use something like some_variable[1][3] in an assignment because that variable had not been previously declared in the Variable dialog window. (Also, since the variable was not declared in the Variable window, it would not show up in the drop down menus in the popup window wizards.)
It will work with only one line of code (the one where it defines the array), but I used two just to make it easier later on when I was using that array in the popup windows.
