All:
I'm trying to access a simple array like I always do, and running into a problem. I thought it was a simple typo, but experiencing a problem. To debug, I established the a simple array and tested.
//Debug
string [] s;
s = new string [7];
s[0] = "TEST";
When moving from the second to last line the watch goes from a value of 'null' (as expected) to 'Does not exist' ????
[IMG]C:\Temp\Array_E rror_1.jpg[/IMG]
[IMG]C:\Temp\Array_E rror_2.jpg[/IMG]
(image insert does not appear to be working) - Debugger reads:
Name Value
========= =============== ========
s[0].ToString() error: 's[0].ToString' does not exist
any help appreciated.
Thanks.
MS
I'm trying to access a simple array like I always do, and running into a problem. I thought it was a simple typo, but experiencing a problem. To debug, I established the a simple array and tested.
//Debug
string [] s;
s = new string [7];
s[0] = "TEST";
When moving from the second to last line the watch goes from a value of 'null' (as expected) to 'Does not exist' ????
[IMG]C:\Temp\Array_E rror_1.jpg[/IMG]
[IMG]C:\Temp\Array_E rror_2.jpg[/IMG]
(image insert does not appear to be working) - Debugger reads:
Name Value
========= =============== ========
s[0].ToString() error: 's[0].ToString' does not exist
any help appreciated.
Thanks.
MS
Comment