Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASCAN Syntax
Message
 
To
19/05/2010 11:28:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01465103
Message ID:
01465113
Views:
40
>Hi Mike
>
>DIMENSION test(2,2)
>test[1,1]=2
>test[1,2]=.T.
>test[2,1]=3
>test[2,2]=.F.
>
>? test[ASCAN(test,3,1,0,1,8), 2]
>

That would work only if you are absolutely sure that this value is presented in the array.


try:
DIMENSION test(2,2)
test[1,1]=2
test[1,2]=.T.
test[2,1]=3
test[2,2]=.F.

? test[ASCAN(test,7,1,0,1,8), 2] && Search 7 instead of 3 :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform