On 2021-10-30 10:31:59 Rick McGuire wrote: > On Sat, Oct 30, 2021 at 11:28 AM Erich Steinböck > <erich.steinbo...@gmail.com> > > wrote: > > 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. > > I can guarantee that I would answer any problem reports resulting from > repeated calls with "Won't fix". > > Rick
Okay; but can you answer my original question? Leslie -- _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel