|
-
Oct 9th, 2000, 03:16 AM
#1
Is there a way that you can get a generic error handler to get hold of the input parameters passed into a function or sub?
I would like to be able to log all inputs to any function but do not want to hard code saving the parameters as would bloat the code somewhat and make it a pain to maintain.
Many Thanks,
John.
-
Oct 9th, 2000, 04:10 AM
#2
transcendental analytic
Maybe you could make an addin to add code to save the method arguments, in each function, and also update them if new arguments are implemented to the functions...
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.
-
Oct 9th, 2000, 04:40 AM
#3
Thanks for the info, thats what it looks like. I was hoping that there was some magic way you could access the parameters direct.
The only way that I can think of doing this other than an addin was to pass all inputs into functions as parameter arrays, but that would make very nasty code!
Thanks for the help,
John.
-
Oct 9th, 2000, 06:01 AM
#4
transcendental analytic
Yeah, no magic ways in vb to do that, a param array would be faster to save but "user friendly" ehm.
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.
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
|