Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

looping a file with filter
Hi everyone,

I want to loop a file with filter, using LOOP command. How can i do this?

thanks.

Report this thread to moderator Post Follow-up to this message
Old Post
don zaragoza
03-27-04 04:01 AM


Re: looping a file with filter
If 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.



Report this thread to moderator Post Follow-up to this message
Old Post
Kingsley Klosson
03-27-04 04:01 AM


Re: looping a file with filter
Hi "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.



Report this thread to moderator Post Follow-up to this message
Old Post
Odd Johannesen
03-27-04 04:01 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clarion archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 11:54 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.