Hi Przemek,

> Here is a bug in your code which creates the difference. It should be:
>   ordCreate(, "T1", cKey, {|| &cKey} )
> otherwise you create index where key value is fixed "CODE" string in
> the given codeblock. CL53 DBFCDX/COMIX ignores codeblock but CL52 DBFCDX/
> SIX3 and DBFNTX doesn't and the results are exactly the same as in Harbour.
>
>>  SET INDEX TO (TMP_DST)
>
> This closes current index and reopen it. Because in index file only string
> representation of used expressions can be stored (codeblocks cannot) then
> "CODE" expression is recompiled and now it's used instead of fixed string
> "CODE". But index was created with key size 4 and this information is
> stored in index file and is properly retrieve.

I just happen to have forgotten a little bit...
Live and learn, right.

Best regards,
Saulius
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to