Thank you for your quick reply! The @ciks array is one I created from a text file. I have printed it at certain points in the program and it seems to work. The $cik variable is one that is generated in the program. Here is the full story: I have a list of identifiers whose SEC filings I want to download. If I do not specifically select those firms, I have to download the entire list from that server, which takes several hours per year. The way this process works is that there is an index file that lists every file available for a given fiscal quarter. In essence, the $cik is the firm identifier from the index file. I only want a certain file type from certain firms...this is what I am trying to match.
When I use that code you provided when you asked what was in $ciks and @ciks it runs without stopping...seems to repeat over and over again what is in the @ciks array. Thanks again for your help!
In reply to Re^2: If statement multiple conditions
by kbone
in thread If statement multiple conditions
by kbone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |