![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Suppose I have a VSA script (vbscript) that does a bunch of stuff, and in the midst of that, it calls a method of some object ------- Public Module Script Sub DoStuff(ob as Bar) handles host.OnDoStuff ob.Baz(7) End Sub -------- public class bar { public bar() { } public Baz(int number) { if (number > 5) // error condition } } ----------- For my error condition, I want to display a message that says where Baz was called from (i.e., Script.DoStuff) and preferably has the line number. Does anyone please have any suggestions? I'm at a complete loss for how to proceed. Thanks, Nolan Woods |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |