?
Solved

Looking for ArcCos

Posted on 1998-02-19
13
Medium Priority
?
557 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
[X]
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
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 1600 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month7 days, 19 hours left to enroll

765 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