Hi Tim!
Tim> Dmitry, Thank you very much for your reply! Ok, then my question is
Tim> how do I insert my sub in the object inspector? I see the "$self =
Tim> $_[0];" in the object inspector, but I do not understand the correct
Tim> syntax to insert the sub. (I have tried just plugging in my sub,
Tim> something like "bandSelect('7')" )
Hello Tim,
"$self = $_[0]" is already the beginning of the sub.
insert "print(qq(Hello world\n))" below that line to see the immediate
results :)
If you need to call the sub that is not present in the code, and is
implemented elsewhere, I'd recommend to call the sub with the fully
qualified name, f.ex. My::Module::bandSelect, and load My::Module
either in the main code, or in VB in the code editor.
-- Sincerely, Dmitry KarasikReceived on Wed 24 Dec 2008 - 23:53:32 CET
This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:06 CET