The help for Ascan() function says that if you omit the nStartElement and nElementSearched, VFP will search the entire array. Yet the following syntax does not work:
nRet = ascan( myarray, "ABC",,,2 )
(I want to search the entire array, column 2 for value "ABC". I know I could figure out the first and the last element number but why can't VFP do it if I omit the arguments, as help suggests).
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham