Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug: valid exp is not valid as index key
Message
From
09/04/2005 12:08:09
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01003003
Message ID:
01003050
Views:
24
>Fabio,
>
>What leads you to expect that "RS" is a valid second argument to the bintoc() function?
>

With RS you can convert a numeric to the binary bytes ( useful with API interface )
? 0H+BINTOC(1,"rs")     && integer32
? 0H+BINTOC(1E0,"brs")  && IEEE double
? 0H+BINTOC(1E0,"frs")  && IEEE single
* currency have a bug
>>Expected: No errors
>>
>>CLEAR
>>SET NULL ON
>>CREATE CURSOR BYBYBUG (AB I NULL)
>>? BINTOC(AB,RTRIM("RS "))                       && NO ERROR
>>INDEX ON BINTOC(AB,RTRIM("RS "))	TAG T2	&& FIRE A ERROR
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform