Forum Discussion

tamsynels's avatar
tamsynels
Copper Contributor
Feb 25, 2020

User Based Function Name Error

I have a problem with a user based function i am doign for an online course. I dont know why i am getting a name error cause i checked the spelling and the syntax and i think its all correct. Are my arguments that I'm selecting being properly stored as numbers? am i dimming correctly? (i.e. should i be using singles, not doubles? 

1 Reply

  • ChrisMendoza's avatar
    ChrisMendoza
    Iron Contributor

    tamsynels -

     

    You did not include 't' in your arguments.

    Function antoine(a As Double, b As Double, c As Double, t As Double) As Double
        antoine = 10 ^ a - (b / (t + c))
    End Function

     

Resources