Re: [fpc-pascal] FreeVision Resources?

2020-02-15 Thread Tomas Hajny
On 2020-02-13 11:08, Sven Barth via fpc-pascal wrote: Kevin Monceaux schrieb am Do., 13. Feb. 2020, 10:57: . . I'm working my way through the Turbo Vision 2.0 Programming Guide I found on Archive.org. Everything was working well, until chapter 4 - Using streams and resources. Saving

Re: [fpc-pascal] FreeVision Resources?

2020-02-15 Thread Kevin Monceaux
On Sat, Feb 15, 2020 at 08:54:31AM +, Graeme Geldenhuys wrote: > On 13/02/2020 3:37 pm, Kevin Monceaux wrote: > > What's the definition of a legacy system? One that works! > > > Brilliant tag line by the way! So true these days. :-D It's hard to beat text terminal user interfaces for data

Re: [fpc-pascal] Last fix for RegExpr (error on empty input)

2020-02-15 Thread Michael Van Canneyt
On Sat, 15 Feb 2020, AlexeyT via fpc-pascal wrote: My app does mass replace with regex. in big text, user enters regex "\b" and replaces it to eg "__". app calls Substitute() with each found match, match is zero length so your code will NOT replace it to "__". but it's needed to replace it

Re: [fpc-pascal] Last fix for RegExpr (error on empty input)

2020-02-15 Thread AlexeyT via fpc-pascal
My app does mass replace with regex. in big text, user enters regex "\b" and replaces it to eg "__". app calls Substitute() with each found match, match is zero length so your code will NOT replace it to "__". but it's needed to replace it to "__". -- Regards, Alexey

Re: [fpc-pascal] Last fix for RegExpr (error on empty input)

2020-02-15 Thread Michael Van Canneyt
On Sat, 15 Feb 2020, AlexeyT via fpc-pascal wrote: 1) typo in new Id: iMput. Indeed, I looked right over that. I fixed that. 2) wrong fix for 2nd "Error" call in Substitute(): you disabled Error call but didn't disable Exit, you need to skip Exit there too, so Substitute will return

[fpc-pascal] Last fix for RegExpr (error on empty input)

2020-02-15 Thread AlexeyT via fpc-pascal
1) typo in new Id: iMput. 2) wrong fix for 2nd "Error" call in Substitute(): you disabled Error call but didn't disable Exit, you need to skip Exit there too, so Substitute will return non empty result when user replaces regex "\b" to e.g. "__". -- Regards, Alexey

Re: [fpc-pascal] FreeVision Resources?

2020-02-15 Thread Graeme Geldenhuys
On 13/02/2020 3:37 pm, Kevin Monceaux wrote: > What's the definition of a legacy system? One that works! Brilliant tag line by the way! So true these days. :-D Regards, Graeme ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] How to rebuild an fpc package

2020-02-15 Thread Graeme Geldenhuys
On 12/02/2020 1:33 pm, Joost van der Sluis wrote: > Note that it will automatically rebuild and install all packages that > depend on fcl-db. Very nice. This makes things so much easier. Regards, Graeme ___ fpc-pascal maillist -