GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #10855

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Eike Lange
Subject: Unused parameter warnings
Date: 30 Sep 2004, 11:54:30

On Thu, Sep 30, 2004 at 09:20:33AM +0100, Prof A Olowofoyeku (The African Chief) wrote:
> On 29 Sep 2004 at 18:22, Frank Heckenbach wrote:
> >   function String2Num(???) (const s: String; var n: <numeric type>):
> >   Boolean;
> > Comments?
> TurboPower had many of these (str2byte, str2long, str2real, etc.) in 
> their tpstring unit. I think one that can cater for all numeric types 
> would be very useful.

{ converts a string by using current locale to a numeric value
  Example using de_DE locale:  if String2NumLocale ('1,50', MyMoney) then ...
  True on success }
function String2NumLocale (const s: String; var n: <numeric type>): Boolean;

Eike

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Frank Heckenbach Unused parameter warnings 30 Sep 2004, 23:14:42

In reply to

Author Subject Date
CBFalconer Unused parameter warnings 28 Sep 2004, 23:25:48
The Chief Unused parameter warnings 30 Sep 2004, 09:20:33

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).