ARexx (79/84)

From:Andreas Mixich
Date:31 Mar 2001 at 12:12:14
Subject:One too much...

Hi,

/* before: create HTML template, <OL>
** input = foo lf bar
*/

DO b = 1 WHILE ~EOF(f)
line.i = ReadLN(f)
num = WriteLN(f3,'<LI><A HREF="'||line.i||'">'||line.i||'</A></LI>')
END

/* after: stuff*/

RESULT:

1. foo
2. bar
3.

What can I do to avoid the empty list item ? Do I have to omit the
WriteLN() and start a seperate loop like:

line.0 = b
DO i = 1 TO line.0 -1

END

Or is there another solution ?



Good bye, Andreas
sp.amix@gmx.net

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Secure your servers with 128-bit SSL encryption!
Grab your copy of VeriSign's FREE Guide,
"Securing Your Web site for Business." Get it now!
http://us.click.yahoo.com/KVNB7A/e.WCAA/bT0EAA/stAVlB/TM
---------------------------------------------------------------------_->

ARexx mailing list - No flames, no overquoting, no crossposting.
Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/