[fpc-devel] Mistake in ApplicationName() documentation

2011-09-13 Thread Graeme Geldenhuys
Hi, Below is a quote from the documentation of the ApplicationName() function: Standard this is equal to the result of ParamStr(0), but it can be customized by setting the OnGetApplicationName callback. This seems incorrect, as the following test program shows. --[ test1.pas

Re: [fpc-devel] Mistake in ApplicationName() documentation

2011-09-13 Thread michael . vancanneyt
On Tue, 13 Sep 2011, Graeme Geldenhuys wrote: Hi, Below is a quote from the documentation of the ApplicationName() function: Standard this is equal to the result of ParamStr(0), but it can be customized by setting the OnGetApplicationName callback. It should say 'filename part' of

Re: [fpc-devel] Mistake in ApplicationName() documentation

2011-09-13 Thread michael . vancanneyt
On Tue, 13 Sep 2011, michael.vancann...@wisa.be wrote: On Tue, 13 Sep 2011, Graeme Geldenhuys wrote: Hi, Below is a quote from the documentation of the ApplicationName() function: Standard this is equal to the result of ParamStr(0), but it can be customized by setting the

Re: [fpc-devel] Mistake in ApplicationName() documentation

2011-09-13 Thread Vincent Snijders
2011/9/13, michael.vancann...@wisa.be michael.vancann...@wisa.be: On Tue, 13 Sep 2011, michael.vancann...@wisa.be wrote: On Tue, 13 Sep 2011, Graeme Geldenhuys wrote: Hi, Below is a quote from the documentation of the ApplicationName() function: Standard this is equal to the result

Re: [fpc-devel] Mistake in ApplicationName() documentation

2011-09-13 Thread Graeme Geldenhuys
On 13/09/2011 11:02, michael.vancan... wrote: I have adapted the docs. Thanks. By the way, the second paragraph in the help already contained this info. Yes I saw that, but the original two paragraphs seem to contradict themselves. So a clarification seemed in order. ;-) Regards, -