J
John
If you have an Array, say Array(9), how do you pass that information
for a function to use?
For example:
Public Function MyFunction(x as long) as Boolean
Dim n as Long
MyFunction=False
For n = 1 to 9
If Array(n) = x then MyFunction = True
Next
End Function
I know you can't have Public Function MyFunction(x as Long, Array() as
long) as Boolean"
But there has to be some way for public functions to access arrays
outside the function doesn't there?
Thanks
John
for a function to use?
For example:
Public Function MyFunction(x as long) as Boolean
Dim n as Long
MyFunction=False
For n = 1 to 9
If Array(n) = x then MyFunction = True
Next
End Function
I know you can't have Public Function MyFunction(x as Long, Array() as
long) as Boolean"
But there has to be some way for public functions to access arrays
outside the function doesn't there?
Thanks
John