Re: [fpc-pascal] Hello, new Pascal programmer. had a question!

2021-08-29 Thread Yann Mérignac via fpc-pascal
http://code.sd/startprog/ Le dim. 29 août 2021 à 18:43, geneb via fpc-pascal < fpc-pascal@lists.freepascal.org> a écrit : > On Sat, 28 Aug 2021, Dennis Lee Bieber via fpc-pascal wrote: > > > On Fri, 27 Aug 2021 16:01:38 -0400, joseph turco via fpc-pascal > > declaimed > > the following: > > > >>

Re: [fpc-pascal] CLI argument parsers

2019-01-14 Thread Yann Mérignac
You can also try this: http://yann.merignac.free.fr/unit-cmdline.html It's a command line parser I wrote when I needed it a few years ago. I was inspired by these 2 articles: - https://www.adacore.com/gems/gem-138-gnatcoll.command-line - https://www.adacore.com/gems/gem-139-master-the-command

Re: [fpc-pascal] List of integers? Any class available in RTL or FCL to help?

2016-12-04 Thread Yann Mérignac
You can try my GContnrs unit ( http://yann.merignac.free.fr/unit-gcontnrs.html). It has tree sets that, as i understand them, can fulfill your needs. 2016-12-04 11:25 GMT+01:00 Graeme Geldenhuys : > Hi Florain, > > Thanks for the quick response. > > On 2016-12-04 10:06, Florian Klämpfl wrote: >

Re: [fpc-pascal] Underscores in numerical literals - grouping

2016-11-22 Thread Yann Mérignac
> Is there any other place in any language (programming or natural) where underscored are used in this way? In Ada at least since 1983. http://archive.adaic.com/standards/83lrm/html/lrm-02-04.html 2016-11-22 1:26 GMT+01:00 Gordon Findlay : > Yet another daft idea from java. Is there any other p

Re: [fpc-pascal] Does fpdoc sets a particular define ?

2016-10-29 Thread Yann Mérignac
I just tried with the trunk version and it works. Thank you. Can anyone mark the bug report as resolved? ( http://bugs.freepascal.org/view.php?id=30810) 2016-10-28 12:22 GMT+02:00 Yann Mérignac : > Thanks ! I'll try to build FPDoc from trunk and test. > > 2016-10-28 12:11 GMT+02:

Re: [fpc-pascal] Does fpdoc sets a particular define ?

2016-10-28 Thread Yann Mérignac
Thanks ! I'll try to build FPDoc from trunk and test. 2016-10-28 12:11 GMT+02:00 Michael Van Canneyt : > > > On Fri, 28 Oct 2016, Yann Mérignac wrote: > > Hi all, >> >> While generating documentation for one of my projects I ran into a bug in >> fpdoc. It

[fpc-pascal] Does fpdoc sets a particular define ?

2016-10-28 Thread Yann Mérignac
Hi all, While generating documentation for one of my projects I ran into a bug in fpdoc. It crashes on declarations like this one: --- type TObjectBlob = class(specialize TGenBlob) ... end; --- I reported the bug here: http://bugs.freepascal.org/view.php?id=30810 Now, I am looki

[fpc-pascal] a "bug" on the bug tracker

2015-07-29 Thread Yann Mérignac
Hi all, The problem is not very serious, but I point it out here because no bug tracker category seems appropriate. In the header of the pages of bug tracker the Community button is a dead link to http://community.freepascal.org:1/. Regards. ___ fp

Re: [fpc-pascal] Txt2FPDoc 0.8.4 released

2015-07-22 Thread Yann Mérignac
Thank you ! 2015-07-21 21:26 GMT+02:00 Michael Van Canneyt : > > > On Mon, 20 Jul 2015, Yann Mérignac wrote: > > Txt2FPDoc is a command line tool that converts a documentation file >> written >> in human readable language to an XML file suitable for FPDoc. >&g

[fpc-pascal] Txt2FPDoc 0.8.4 released

2015-07-20 Thread Yann Mérignac
Txt2FPDoc is a command line tool that converts a documentation file written in human readable language to an XML file suitable for FPDoc. Txt2FPDoc tries to make the documentation file easy to read (almost as readable as plain English) and easy to write (no cryptic tags, only light markups like **

Re: [fpc-pascal] Lazarus, FreePascal, and translated compiler messages

2015-05-07 Thread Yann Mérignac
Ok, we are going to make a translation suitable for future 3.0. Thanks. 2015-05-07 10:58 GMT+02:00 Tomas Hajny : > On Thu, May 7, 2015 08:47, Yann Mérignac wrote: > > Thanks for your fix Mattias. > > > > And also because looking at your changes I noticed that there are two

Re: [fpc-pascal] Lazarus, FreePascal, and translated compiler messages

2015-05-06 Thread Yann Mérignac
5-05-07 0:34 GMT+02:00 Mattias Gaertner : > On Wed, 6 May 2015 10:55:43 +0200 > Yann Mérignac wrote: > > > Hi, > > > > I am part of a team that is reviewing the French translation of Lazarus. > > The French language has accented characters. These characters ar

[fpc-pascal] Lazarus, FreePascal, and translated compiler messages

2015-05-06 Thread Yann Mérignac
Hi, I am part of a team that is reviewing the French translation of Lazarus. The French language has accented characters. These characters are not displayed in the message window of Lazarus. I think Lazarus expects UTF8 strings while the FreePascal translation file is encoded in cp850. For other l

Re: [fpc-pascal] Bug in generics

2014-06-06 Thread Yann Mérignac
Ok Thanks. 2014-06-06 17:06 GMT+02:00 Sven Barth : > Am 06.06.2014 14:31 schrieb "Yann Mérignac" : > > > > > Hi, > > > > I have found a bug with generics. It exists in 2.6.4 but not in 2.7.1 > (rev 27862). I searched in bug tracker but can't find

[fpc-pascal] Bug in generics

2014-06-06 Thread Yann Mérignac
Hi, I have found a bug with generics. It exists in 2.6.4 but not in 2.7.1 (rev 27862). I searched in bug tracker but can't find a corresponding bug report. Should I report it or consider it's fixed ? Program : program genbug_002; {$mode objfpc}{$h+} uses C

Re: [fpc-pascal] Disabling the MIN, MAX, Close icon of EXE in free pascal

2014-06-04 Thread Yann Mérignac
This program works (at least on windows XP) but must be changed according to your language : program consprg; {$mode objfpc}{$H+} uses Classes, Crt, windows; const CloseItemString = '&Fermer'; // '&Fermer' : french // probably '&Close' in englis

Re: [fpc-pascal] For Slackware users

2014-05-06 Thread Yann Mérignac
Sorry, I thought that bugs reported in project FPC should concern compiler or units bugs. 2014-05-06 17:20 GMT+02:00 Tomas Hajny : > On Tue, May 6, 2014 17:02, Yann Mérignac wrote: > > It seems that there is no website category in bug tracker. Should I > report > > t

Re: [fpc-pascal] For Slackware users

2014-05-06 Thread Yann Mérignac
It seems that there is no website category in bug tracker. Should I report this somewhere else ? Thanks 2014-05-05 14:05 GMT+02:00 Yann Mérignac : > So, there is a problem with the mailing list page of the free pascal > website (http://freepascal.org/maillist.var). > > The firs

Re: [fpc-pascal] For Slackware users

2014-05-05 Thread Yann Mérignac
is not updated very often. 2014-05-05 13:52 GMT+02:00 Jonas Maebe : > > On 05 May 2014, at 13:40, Yann Mérignac wrote: > > PS : I already post this message 4 hours ago but it doesn't appear in >> mailing list archives... >> > > Your previous post is at http:

Re: [fpc-pascal] For Slackware users

2014-05-05 Thread Yann Mérignac
x27;t appear in mailing list archives... 2014-05-05 8:44 GMT+02:00 Yann Mérignac : > No problem to add this link. > > If FPC and/or Lazarus teams are interested, I can also provide binary > packages for FPC and/or Lazarus (I can't host them myself). But I'm not > sure ther

Re: [fpc-pascal] For Slackware users

2014-05-04 Thread Yann Mérignac
No problem to add this link. If FPC and/or Lazarus teams are interested, I can also provide binary packages for FPC and/or Lazarus (I can't host them myself). But I'm not sure there are many users of pascal and Slackware... ___ fpc-pascal maillist - f

[fpc-pascal] For Slackware users

2014-05-04 Thread Yann Mérignac
Hi all, I have modified my scripts to convert FPC & Lazarus binaries to Slackware packages. If you're interested you can find them to http://yann.merignac.free.fr/fpc-and-lazarus-for-slackware.html ___ fpc-pascal maillist - fpc-pascal@lists.freepascal

Re: [fpc-pascal] Elegant way to switch sort mechanism in TSortedCollection?

2014-03-14 Thread Yann Mérignac
Depending on the number of possible sort orders, may be it is better to have one collection by possible sort order and to permanently keep the collections sorted. 2014-03-13 22:26 GMT+01:00 Jim Leonard : > On 3/13/2014 3:49 PM, Frederic Da Vitoria wrote: > >> You are sorting only for display pur

[fpc-pascal] For Slackware users

2014-03-06 Thread Yann Mérignac
Hi all, I wrote some scripts to convert FPC & Lazarus binaries to Slackware packages. If you're interested you can find them to http://yann.merignac.free.fr/fpc-and-lazarus-for-slackware.html ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org h

Re: [fpc-pascal] A linking error in a SDL example

2014-03-04 Thread Yann Mérignac
Probably your missing the libsmpeg library. On debian it's provided by the libsmpeg0 package. https://packages.debian.org/wheezy/libsmpeg0 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fp

[fpc-pascal] License change for UPasConf, GContnrs, CmdLine & data2pas

2014-03-04 Thread Yann Mérignac
Hi all, As I said last week in the "Announces & License question" discussion, I have released new versions of UPasConf, GContnrs, CmdLine and data2pas. No new functionality, just a change of license to be more compatible with Free Pascal licence. Again, thanks for your advices. http://yann.merig

Re: [fpc-pascal] Announces & License question

2014-02-28 Thread Yann Mérignac
Compatibility with FPC and avoid the proliferation of licenses... 2 good arguments in favor of GPL v2+ + linking exception. I'll go that way. Thanks 2014-02-28 13:10 GMT+01:00 Marco van de Voort : > In our previous episode, Jonas Maebe said: > > > I would do gplv2+ + linking exception, since th

Re: [fpc-pascal] Announces & License question

2014-02-28 Thread Yann Mérignac
Ok. So I will release new versions with licenses changed to GPL v3 + linking exception. Thanks to all. 2014-02-28 11:49 GMT+01:00 Jonas Maebe : > > On 28 Feb 2014, at 11:11, Yann Mérignac wrote: > >- *data2pas* a command line tool that generates pascal include files >>

[fpc-pascal] Announces & License question

2014-02-28 Thread Yann Mérignac
Hi, I have released some free pascal code. - *data2pas* a command line tool that generates pascal include files from a text file description. This is a tool similar to *data2inc* but using a more "pascalish" syntax. (GPL v3+) http://yann.merignac.free.fr/data2pas.html - *CmdLine*