|
-
Nov 6th, 2000, 08:48 AM
#1
Thread Starter
Member
I am trying to pass a long variable into a ByVal Variant and I am getting a type mismatch error? Any ideas? If I change the type to a Long it works?! Shouldn't the ByVal Variant work also?
-
Nov 6th, 2000, 08:55 AM
#2
Frenzied Member
Hmm.. Variant should work too, strange.
But I'm not to fond of Variant, whereever you can, use a specified type, so using long in this case is no problem if you're sure it's a number, if not, just pass it a string it'll work even with integers after you used the Val function.
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Nov 6th, 2000, 09:03 AM
#3
transcendental analytic
more info
Were is the procedure located? Public or private? paste the procedure call and the declaration of the long variable here, were are they located?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 6th, 2000, 09:10 AM
#4
Thread Starter
Member
Thanks for the questions kedaman!!!!
I figured it out!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|