1. write_lines type (minor)

While formally adding write_lines() to Phix, I think I spotted a minor typo in https://openeuphoria.org/docs/std_io.html#_1732_write_lines

if write_lines(...) != -1 then 
    puts(STDERR, "Failed to write data\n") 
end if 

Surely that should be either "= -1" or "!= +1" (not tested)

new topic     » topic index » view message » categorize

2. Re: write_lines type (minor)

append_lines() https://openeuphoria.org/docs/std_io.html#_1740_append_lines has the same error.


new topic     » goto parent     » topic index » view message » categorize


Quick Links

User menu

Not signed in.

Misc Menu