Re: [fpc-pascal] How to split file of whitespace separated numbers?

2016-12-24 Thread Luiz Americo Pereira Camara
2016-12-23 15:27 GMT-03:00 Marco van de Voort : > In our previous episode, Graeme Geldenhuys said: > > For many other things, plain code could be faster, but often a lot more > > effort and time consuming to implement. Where as you could have written > > a regex expression in under 10 seconds and

Re: [fpc-pascal] How to split file of whitespace separated numbers?

2016-12-24 Thread Sven Barth
Am 24.12.2016 12:53 schrieb "Mark Morgan Lloyd" < markmll.fpc-pas...@telemetry.co.uk>: > > On 24/12/16 11:30, Lars wrote: >> >> On Fri, December 23, 2016 12:54 pm, Graeme Geldenhuys wrote: >>> >>> On 2016-12-23 18:27, Marco van de Voort wrote: >>> Writing or even worse, reading/debugging regex

Re: [fpc-pascal] How to split file of whitespace separated numbers?

2016-12-24 Thread Mark Morgan Lloyd
On 24/12/16 11:30, Lars wrote: On Fri, December 23, 2016 12:54 pm, Graeme Geldenhuys wrote: On 2016-12-23 18:27, Marco van de Voort wrote: Writing or even worse, reading/debugging regex is about the most intensive effort there is IMHO. So is standard programming code - if you don't know the

Re: [fpc-pascal] How to split file of whitespace separated numbers?

2016-12-24 Thread Lars
On Fri, December 23, 2016 12:54 pm, Graeme Geldenhuys wrote: > On 2016-12-23 18:27, Marco van de Voort wrote: > >> Writing or even worse, reading/debugging regex is about the most >> intensive effort there is IMHO. > > So is standard programming code - if you don't know the syntax or how it > works

Re: [fpc-pascal] How to split file of whitespace separated numbers?

2016-12-24 Thread Luiz Americo Pereira Camara
Em 23 de dez de 2016 05:15, "Bo Berglund" escreveu: Is there a quick way to split a string of whitespace separated values into the separate members? Unir strutils Wordcount + extractword Or Extractsubstr in loop http://www.freepascal.org/docs-html/rtl/strutils/extractsubstr.html Luiz I

Re: [fpc-pascal] How to split file of whitespace separated numbers?

2016-12-24 Thread Lars
On Fri, December 23, 2016 4:49 am, Howard Page-Clark wrote: > On 23/12/16 08:14, Bo Berglund wrote: > >> Is there a quick way to split a string of whitespace separated values >> into the separate members? > It is possible that a custom string parser (something along these lines) > might improve you