> > can I reuse fileStream somehow? There seems to be no way to associate > fileStream with a different file > Hi Leslie, in fact this can be done by calling INIT directly.
~~~ s = .Stream~new("") do i = 1 to 99 s~init(i) s~~open("write replace")~~charOut(i)~close end ~~~ I occasionally considered doing this (e. g. for File or DateTime objects) and have asked a respective question a few months ago on the Dev list. I really don't know if calling INIT repeatedly is a supported concept - at least we don't run any tests for it. Until we know better, I couldn't recommend using it.
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel