running a sub only if it exists

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

running a sub only if it exists

Timothy Spaulding

Hello all,


I want to test to see if a sub exist before I attempt to call it, like this:


If (sub_to_do_something exists) { &sub_to_do_something(parms);}


Sub sub_to_do_something




I’ve seen the keyword ‘ref’ used, but I don’t know how to use it here.



Check out the vibrant tech community on one of the world's most
engaging tech sites,!
To unsubscribe from this list, go to: