Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A question about ASCAN()
Message
From
12/01/2001 11:48:33
 
 
To
12/01/2001 11:44:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00463010
Message ID:
00463033
Views:
18
>It might be. If myfld is zero yet zero is not in myarray then the result is zero returning zero records. OTOH, if myfld is not zero but myarray contains zero and also contains myfld (which is non-zero) then the result set is not empty (zero records). If myfld is zero and zero is an element of myarray then scanning for zero where there is a zero is not zero and NOT zero records will result.
>
>I hope that I have cleared this up.
>
>>>>My code is:
>>>>select * from mytable where ascan(myarray,myfld) # 0 into cursor mycursor...
>>>>What does # 0 mean or do ????
>>>
>>>#0 means 'not equals' zero. Same as != 0 or <> 0.
>>----
>>Hi Rick,
>>Is the select statement saying...where myfld is not equal to 0?
--
Hi John,
it clears things up, thanks ..:))
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform