In einer eMail vom 09.03.00 06:33:20 (MEZ) Mitteleuropäische Zeit schreibt 
[EMAIL PROTECTED]:

> >
>  >#2
>  >"files" (above) will, eventually, be a block of about 300 file names. I 
> need
>  >to know how to take five file names at a time and make a string that is:
>  >"name+name+name+name+name", to add to a URL.
>  
>  One possibility would be:
>  
>  >> files: [%a %b %c %d %e %f %g %h %i %j]
>  >> foreach [f-1 f-2 f-3 f-4 f-5] files [ 
>    print mold to string! 
>       reduce [f-1 "+" f-2 "+" f-3 "+" f-4 "+" f-5] ]
>  
>  which results in:
>  
>  "a+b+c+d+e"
>  "f+g+h+i+j"
>  
>  ;- Elan >> [: - )]
>  
with 
files: [%a %b %c %d %e %f %g %h %i %j %k] ; ( 11 // 5 <> 0)
gives
"a+b+c+d+e"
"f+g+h+i+j"
"k+none+none+none+none"

Volker

Reply via email to