Hello,

You may not need to loop through the the file and not use an AFL for it. Please 
read the help file for ASCII Import. There you may find the solution to do what 
you are looking for.

With regards

Sanjiv Bansal

--- In amibroker@yahoogroups.com, "sohamdas" <soham...@...> wrote:
>
> Can somebody give me a suggestion how to proceed. 
> 
> Would be grateful!
> --- In amibroker@yahoogroups.com, "sohamdas" <sohamdas@> wrote:
> >
> > Hi Folks,
> > 
> > I have got a text file, which contains the exchange code of a particular 
> > scrip and its industry seperated by a comma.
> > 
> > I want to implement the following logic inside my afl:
> > 
> > 1. Read the file.
> > LOOP EACH LINE
> >   2. Read the exchange code 
> >   3. Read the industry
> >   4. If this industry exists in the industry list, move the stock(present 
> > in the db) to this industry group
> >   5. If no, create this and move the stock
> > END LOOP
> > 
> > I am at loss, because I dont know how to implement this logic in AFL.Any 
> > help/pointers will be helpful
> >
>


Reply via email to