VB won't let me do this in a class module:

Public MyVar() as double

Error message says that an array is not allowed here

I need to be able to have a class of the form:

MyClass.MyVar(x)


Is there anyway to do this?

Thanks for any help!