On Friday, October 14, 2016 at 10:44:47 PM UTC, Páll Haraldsson wrote:
>
> On Friday, October 14, 2016 at 5:17:45 PM UTC, Diego Javier Zea wrote:
>>
>> Hi!
>> I have a function that uses `IOBuffer` for this creating one `String`
>> like the example.
>> Is it needed or recommended `close` the
On Friday, October 14, 2016 at 5:17:45 PM UTC, Diego Javier Zea wrote:
>
> Hi!
> I have a function that uses `IOBuffer` for this creating one `String` like
> the example.
> Is it needed or recommended `close` the IOBuffer after `takebuf_string`?
>
I find it unlikely.
help?> takebuf_string
Hi!
I have a function that uses `IOBuffer` for this creating one `String` like
the example.
Is it needed or recommended `close` the IOBuffer after `takebuf_string`?
Best!
On Tuesday, February 17, 2015 at 1:47:08 PM UTC-3, Stefan Karpinski wrote:
>
> IOBuffer is what you're looking for:
>
> buf
El martes, 17 de febrero de 2015, 10:47:08 (UTC-6), Stefan Karpinski
escribió:
IOBuffer is what you're looking for:
buf = IOBuffer()
for i = 1:100
println(buf, i)
end
takebuf_string(buf) # = returns everything that's been written to buf.
The takebuf_string function really needs a
Thank you very much Stefan, and sorry I reposted this question one hour
later !
My reply is on this other thread:
https://groups.google.com/forum/?fromgroups=#!topic/julia-users/3OEH-m3EKco%5B1-25-false%5D
-- Maurice
IOBuffer is what you're looking for:
buf = IOBuffer()
for i = 1:100
println(buf, i)
end
takebuf_string(buf) # = returns everything that's been written to buf.
The takebuf_string function really needs a new name.
On Tue, Feb 17, 2015 at 9:06 AM, Maurice Diamantini