Interesting lookup processing

Mike Schwartz mschw at athenet.net
Thu May 7 06:44:17 PDT 2009


Hi John:  (top posted for you)

     Thanks for reminding me that an alias label could be the same as a real
file name.  If I saw you using the alias label npio to open the npio (or
some other) file, I wouldn't have given the code a second thought.  However,
I do avoid using alias labels that have the same name as any real file, just
for confusion sake, in case I decide to open the real files later on.

     I would have bet that the original example I listed would have failed,
because I didn't think a real (non-aliased) file and an aliased file could
be opened with the same name. 

     Again, most likely some code I wrote back in the early years of filePro
made me think that this was the case, and I've carried the misconception
with me all these years.  

Thanks,

Mike

> Mike,
> I have been doing this code since the first day I ever programmed in
> filePro... Don't you do this....
> 
> Lookup npio=npio ... ...
> Not npio
> Lookup npio=npioarchive ... ...



More information about the Filepro-list mailing list