Interesting lookup processing

Mike Schwartz mschw at athenet.net
Wed May 6 19:49:25 PDT 2009


     I was looking at some programs written by another programmer over 10
years ago, and ran into this code that I didn't think would work reliably,
but it has for over 10 years now:

-----
:
lookup INVEN K=2 (blah, blah)
-----
Not INVEN
Lookup INVEN = ARCINVEN k=2 (blah, blah)
-----
:
3=INVEN(4)
-----


     I would have bet, internally, that filePro would get confused by the
"dual" use of the word INVEN, especially if one part was found in the active
inventory file and the next part was found in the archive inventory file.

     Is this something that potentially could be causing problems, or is
this perfectly legitimate code?

Thanks,

Mike Schwartz

  



More information about the Filepro-list mailing list