Re: read_lines bug

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...

Link to source for the curious: https://github.com/OpenEuphoria/euphoria/blob/master/include/std/io.e#L1125

irv said...

The lines are easy enough to remove, but why are they there in the first place?

If I had to guess, maybe they were part of testing and left in by mistake. It'd make sense to want to see some indicate of the lines being read.

irv said...

Will removing them cause any other problems?

In my testing with the example provided above, no. But who knows what fringe case there might have been for those few lines to exist.

-Greg

I'm wondering if they improve manual console input. If you take that line out and then enter one, two, three, does the screen end up looking like "onetwothree"?
It could of course behave quite differently on linux and windows. (I've messed up my install a bit so I can't test this particular one on eui.)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu