Hi Pete,
I've the color for the string literals set to pink and [THIS.arrayindex] shows as a string literal in pink color. I guess it's just the way editor colors code between square bracets'[]' even when they can be used for the different things.
>Why does this happen: In this code snippet,
>
>DIMENSION testarray[1]
>x = testarray(THIS.arrayindex)
>x = testarray[THIS.arrayindex]
>
>the first THIS appears in blue in the design window,
>but the second THIS does not appear in blue.
>
>Neither one generates errors, and both work my program.
>
>....just curious....
--sb--