--On Tuesday, March 20, 2001 13:05:56 +1100 Sergei Stenkov 
<[EMAIL PROTECTED]> wrote:

>   Val(sTemp, dTemp, iCode);
>   if iCode <> 0 then begin
>     Result := False;
>   end;
>
> does what I need.

You original message had floating point numbers in the test.  Val requires 
sTemp (in your example) to be a whole number.  Does this still meet with 
your need?  You will error out on floating point numerics?

regards

Glen Boyd               <[EMAIL PROTECTED]>
Programmer              Napier City Council
Private Bag 6010, Napier, NEW ZEALAND
Phone: +64-6-8357579    Fax: +64-6-8357574


######################################################################
Attention: 
This e-mail message and accompanying data may contain information 
that is confidential and subject to legal privilege. Any information
provided is given in good faith. However unless specifically stated
to the contrary, Napier City Council accepts no liability for the
content of this e-mail or for the consequences of any action taken on
the basis of the information provided, unless that information is
subsequently confirmed in writing. If you are not the intended recipient,
you are notified that any use, dissemination, distribution or copying
of this message or data is prohibited. If you received this e-mail
message in error, please notify us immediately and erase all copies
of this message and attachments. Thank you.
######################################################################
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to