Strings in an array of structures causing 'unrecognised type' errors
-
If you create an array of structures with a string, then ask for the value of the string before setting it (bad practice, I know) you get an 'unrecognised type: 4' error.
The line number of the error also points to the line of the 'EndStruct' and not to where you use the string.Following code will generate the error:
Struct sTest String text EndStruct sTest test[3] test2 = test[0].text
-
@Mincus Thanks for reporting this I will raise an issue