Jump to content
Sign in to follow this  
Travmanx

Having a bit of trouble

Recommended Posts

Ok, I was creating my own Math1.au3 file that has functions that I have added, the problem is I don't get how it works. When I try

#include <Math1.au3>

It says Error Unable to read Math1.au3

I have saved it in Beta/Include/Math1.au3

I have added the first few lines below

#include-once

Func _Sqr($variable)
    If not Number($variable) Then
        SetError(1)
        Return ""
    EndIf
    Return $variable * $variable
EndFunc

This is my first Include file, and I have about 25 functions added, for Algebra 2 and some trig skills and some geomatry.

If someone could point me into the right dirrection I'd appreciate it :D.

=====================

Edit fixed.

Edited by Travmanx

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...