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 paramstr(0)

I have adapted the docs.

Michael.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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 OnGetApplicationName callback."



It should say 'filename part' of paramstr(0)

I have adapted the docs.


By the way, the second paragraph in the help already contained this info.
But I've been more explicit.

Michael.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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

2011-09-13 Thread Vincent Snijders
2011/9/13, 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 of ParamStr(0), but it can be
>>> customized by setting the OnGetApplicationName callback."
>>>
>>
>> It should say 'filename part' of paramstr(0)
>>
>> I have adapted the docs.
>
> By the way, the second paragraph in the help already contained this info.
> But I've been more explicit.
>
> Michael.
> ___
> fpc-devel maillist  -  fpc-devel@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel