>>>My understanding of that statement is that it applies
strictly to the times when placed within quotation marks. And, that brackets are not quotation marks, but can be used as string delimiters.
>>>
>>>BTW, while it is frequently referred to as a bug, I do know that I have seen a use of it (but I cannot recall what that use was.)
>>>
>>
>>My understandding is that it applies to string delimiters or [] shouldn't be used as delimiters at all. It is a bug in my book. Bugs sometimes could sometimes have a use. For example group by was buggy in VFP6/7 but most of us used that buggy version somehow.
>>
>
>It's neither bug nor feature but a side effect of square brackets allowed triple usage in VFP:
>- arrays: myarray[1]
>- functions: myfunction[1,1]
>- string delimiter: [Whatever]
>
>The pre-processor code parser cannot distinguish between them.
I don't understand how this is not a bug:
Local ix,c
Local Array aTest[1]
For ix=1 To 3
Dimension aTest[ Iif(Type('aTest[1]')='C',Alen(aTest)+1,1) ]
aTest[ALEN(aTest)] = Transform(m.ix)
Endfor
Display Memory Like aTest
It works as it should if I don't use beautify. If I use beautify the code itself affected. Beautifying shouldn't affect the working of the code.
Cetin