I am trying to declare a char array in the middle of my script which captures a big long list of characters. The code I am using for this is below:
char data = DO_GetUniqueString("VIEWSTATE\" value=\"", "\" />\r\n");
What I intended to do was then get the size of the array using the strlen method and then use a for loop to basically search through the array. The problem is that I am getting a compiler error with the above statement. The error message I am getting is:
error C2143: syntax error : missing ';' before 'type'
This suggested to me that I hadn't closed one of the previous lines correctly with the ';' symbol however I have checked this and it isn't the case. It is also interesting to note that if I comment out this line, it compiles without a problem so I presume there is something I haven't done correctly.
Thanks once again to anyone who can help someone on his learning curve!