Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Looking for ArcCos

Posted on 1998-02-19
13
549 Views
Last Modified: 2008-02-01
I wanted to used the ArcCos function, as mentioned in
the help files;  I was told to uses the math unit.

But I always get compilation error, saying math unit
is not found, with Delphi 2 and Delphi 3.

I have no problem with other units;
where could I find it?
TIA.
0
Comment
Question by:bruyere
  • 4
  • 4
  • 3
  • +1
13 Comments
 
LVL 5

Expert Comment

by:ronit051397
ID: 1359611
Add 'Math' to the uses:

uses Math;
0
 
LVL 5

Expert Comment

by:ronit051397
ID: 1359612
If this is not helping, then do the following checking:
Check if the Math.dcu is found in the
C:\Program Files\Borland\Delphi 3\LIB directory.
If not, then get it or:
Recompile tha Math.pas, located in C:\Program Files\Borland\Delphi 3\Source\RTL\SYS
then move the dcu to the Lib diractory.
Also enter Tools/Environement/Library and verify that the
C:\Program Files\Borland\Delphi 3\Source\RTL\SYS is in the path.
0
 

Author Comment

by:bruyere
ID: 1359613
If it was so easy, I would not need help.
The error happens with math in the uses line.

0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 5

Expert Comment

by:ronit051397
ID: 1359614
But did you do the other checking?
0
 
LVL 4

Expert Comment

by:StevenB
ID: 1359615
 The quickest solution is probably to simply uninstall then reinstall Delphi (The best way to tackle most problems is with a sledgehammer).

  Steven.
0
 
LVL 4

Expert Comment

by:itamar
ID: 1359616
bruyere,

do you have Math.pas and/or Math.dcu in your Hard-disk, or not ?
And about easy solutions, We have a lot of questions here with very basic answers, and the people who post them are (almost) always very grateful. People here can't figure out that you are so skilled by just reading your question and trying to help.
0
 

Author Comment

by:bruyere
ID: 1359617
There is no math.pas nor math.dcu on the hard disk;
I am wondering if this unit is only available on the
professional edition of Delphi.

(and sorry if my answers seem to be a little irritating,
but I have to translate from french; be sure that
your help is very appreciated).
0
 
LVL 4

Expert Comment

by:StevenB
ID: 1359618
 Did you try reinstalling?

  Steven.
0
 
LVL 4

Expert Comment

by:itamar
ID: 1359619
Hi bruyere,
I understand about the translating problem...

Would you like to receive this files by e-mail. If you want send me a e-mail to itamar@facil.com and I think your problem can be solved.

Regards,
Itamar
0
 

Author Comment

by:bruyere
ID: 1359620
I have reinstalled the software on another computer
to keep my job safe;

but still no math files on the hard disk; and in the runimage directory on the cdrom, the files can't be found.

I will wait for future Delphi 4 to get the professional edition.

0
 
LVL 4

Expert Comment

by:itamar
ID: 1359621
Hi bruyere,

I still think that if you add those files in your Delphi/Lib directory you'll be able to use math functions with no problem and I can send those files for you.

Bye,
Itamar
0
 
LVL 4

Accepted Solution

by:
itamar earned 400 total points
ID: 1359622
Hi bruyere,

as promised I sent the files for you in Feb, 21.

IHTH,
Itamar
0
 

Author Comment

by:bruyere
ID: 1359623
Adjusted points to 400
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 323
Press three keys together and trigger a function 3 60
Base1 Encode/Decode 3 81
Firemonkey BASS_Init into a thread 17 30
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question