Hi!
This is correct - I used no intellisense in the second try because just re-using the previous command from the command window!
>In this case Intellisence changes _TALLY value. To avoid it happen type ?_TALLY w/o space between '?' and '_TALLY' so intellisence wouldn't have a chance to kick in.
>
>>Hi!
>>
>>The most strange is that I was able to reroduce this... Only once! Next time whatever I did, I got correct results for both VFP6 and VFP7.
>>
>>Seems it is dependent on some sort of development environment nusianses, like internal query of records from PJX file, for example :).
>>
>>Did you tried to test it in run-time?
>>
>>If this does not exists in run-time - no resons to worry about. This is not a big problem when running this just from command Window in VFP development environment.
>>
>>>Dear All,
>>>
>>>please try these couple of code in vfp6 and then in vfp7 as well.
>>>select * from <
>
>>>? _tally
>>>Dimension laTest(_tally)
>>>? _tally
>>>Display Memory like laTest
>>>
>>>after executing these commands i assumed that laTest array variable will contains the number of elements, which was selected by the sql command.
>>>in vfp6 this is the case
>>>but unfortunatelly in vfp7 you will receive an array only with ONE element!!!!
>>>it looks that the dimension command is also affect the _tally value.
>>>or am i wrong?
>>>
>>>thank you
>>>Ivan
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.