Hi Tim, why don't you simply use save or write? You don't need to open a port (fp), just use: foreach txt insert_txt [ write/append/lines %some-file.txt txt ] and you're done. insert always inserts at the head of a series, that's why your getting the stuff in reverse. If for some reason you prefer using a port, then use insert tail like this: foreach txt insert_txt [ insert tail fp txt ] You can also use append instead of "insert tail". If you want a newline, this works as well: foreach txt insert_txt [ insert tail fp txt insert tail fp newline ] or foreach txt insert_txt [ insert tail fp join txt [newline] ] Don't forget to update fp before you close it: update fp close fp Hope this helps, ;- Elan >> [: - )]
- [REBOL] REBOL/View Re:(2) scott
- [REBOL] REBOL/View Re:(3) bpaddock
- [REBOL] REBOL/View Re:(4) bpaddock
- [REBOL] Re: REBOL/View Re:(4) giesse
- [REBOL] REBOL/View Re:(6) bpaddock
- [REBOL] REBOL/View bciceron
- [REBOL] [REBOL]HELP!! Inserting... tjohnson
- [REBOL] [REBOL]HELP!! Inserting... lmecir
- [REBOL] [REBOL]HELP!! Inserting... tjohnson
- [REBOL] HELP!! Inserting text p... allenk
- [REBOL] [REBOL]HELP!! Inserting... icimjs
- [REBOL] [REBOL]HELP!! Inserting... tjohnson
- [REBOL] REBOL/View Re: assembly
- [REBOL] REBOL/View Re: ingo
- [REBOL] REBOL/View Re:(4) alans
- [REBOL] REBOL/View Re:(4) Ed
- [REBOL] rebol/view tsummerfelt1
- [REBOL] REBOL/View jsc
- [REBOL] REBOL/View and proxy-configuration Re: petr . krenzelok
- [REBOL] bot maddening? petr . krenzelok
