Re: [Oorexx-devel] [devel] Reusing an instance of the .Stream class

2021-11-01 Thread J Leslie Turriff
Okay, thanks. Leslie On 2021-10-31 10:16:16 Rick McGuire wrote: > Taking a quick look at the code, reusing the stream object will cause a > memory leak and potentially leave you with open file handles. > > Rick > > On Sat, Oct 30, 2021 at 11:28 AM Erich Steinböck > > > wrote: > > can I r

Re: [Oorexx-devel] [devel] Reusing an instance of the .Stream class

2021-10-31 Thread Rick McGuire
No. On Sun, Oct 31, 2021 at 10:43 AM J Leslie Turriff wrote: > On 2021-10-30 10:31:59 Rick McGuire wrote: > > On Sat, Oct 30, 2021 at 11:28 AM Erich Steinböck > > > > > > wrote: > > > can I reuse fileStream somehow? There seems to be no way to associate > > > > > >> fileStream with a different

Re: [Oorexx-devel] [devel] Reusing an instance of the .Stream class

2021-10-31 Thread J Leslie Turriff
On 2021-10-30 10:31:59 Rick McGuire wrote: > On Sat, Oct 30, 2021 at 11:28 AM Erich Steinböck > > > 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.