Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where to Define the Foll: Function

Status
Not open for further replies.

codenovice

IS-IT--Management
Dec 4, 2001
11
US
Declare Function ATAN2 lib "IFL16" (ByVal dX1 As Double, ByVal dX2 As Double) As Double


this function calculates atan2(x,y) but when I am declaring in the general decleration it is giving me an error

Please help

Thanks

 
If you're declaring it in a Form or a Class, put the work Private in front of Declare. If you're defining it a module, then put the word public in front of it. Snaggs
tribesaddict@swbell.net
Life can only be understood backwards; but it must be lived forwards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top