Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek 75 vs Seek '75'
Message
From
01/03/2000 13:55:47
Walter Meester
HoogkarspelNetherlands
 
 
To
01/03/2000 13:34:57
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00339960
Message ID:
00339978
Views:
18
Michael,

>
create table AnyTable (Keyval N(5))
>index on keyval tag keyval
>for x = 1 to 100
>  insert into AnyTable (keyval) VALUES (x)
>next
>seek 75
>seek "75"
>
>Why doesn't this cause an error on the last line?

As far as I know this is an undocumented feature which has been in the product for at least FPW 2.6 . FoxPro 'sees' that the required index is numeric and converts the string to a numeric value.

Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform