I guess you're right but I still would like to see an example of such index expression from your application.
>Sure ? With this logic you cannot define a index for a VARCHAR field!
>But you can:
>
>CLEAR
>CREATE CURSOR BYBYBUG (AB V(200) NOT NULL)
>INSERT INTO BYBYBUG VALUES ('')
>* THESE TAGS MUST TO HAVE THE SAME STRUCTURE
>INDEX ON AB TAG T1
>SET EXACT ON
>? KEY(),KEYMATCH('')
>INDEX ON CAST('' AS V(200)) TAG T12
>? KEY(),KEYMATCH('')
>X1=['']
>INDEX ON CAST(&X1 AS V(200)) TAG T13
>? KEY(),KEYMATCH('')
>
>
>>Anyway, where would you use such weird index key expressions in real life applications?
>
>In my application. Weird is a statistic concept!
--sb--