Code Comments
Programming Forum and web based access to our favorite programming groups.Hi everyone, I want to loop a file with filter, using LOOP command. How can i do this? thanks.
Post Follow-up to this messageIf you do it with a process procedure, you can set the filter in the template. If you have a had-coded loop, you will simply have to accommodate it in the logic: SET(File) LOOP(File) NEXT(File) IF File:Column=SomeValue Do something here ELSE Do something else, or nothing END END "don zaragoza" <don@cybersyscorporation.com> wrote in message news:22f4e84a.0403120630.2f59054d@posting.google.com... > Hi everyone, > > I want to loop a file with filter, using LOOP command. How can i do this? > > thanks.
Post Follow-up to this messageHi "don zaragoza" I guess this example should work if ABC: ! Showing a total of all positive numbers. GLO:TOTAL = 0 ! Muy importante SET(Filename) LOOP UNTIL EOF(Filename) NEXT(Filename) IF A:TALL > 0 ! Filter start GLO:TOTAL += A:TALL ! Adding all positive numbers END ! Filter end END Regards Odd Johannesen Granli 23 NO-4550 Farsund NORWAY E-mail: odd@toalango.com <don@cybersyscorporation.com> skrev i melding news:22f4e84a.0403120630.2f59054d@posting.google.com... > Hi everyone, > > I want to loop a file with filter, using LOOP command. How can i do this? > > thanks.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.