Inheritance

Cableguy

Expert
Licensed User
Longtime User
View attachment 154711


but there is a "small" problem: you can't call functions using CallSub (or, better, you can but you can't get results)
Why not?
You can do something like dim A as int = Callsub("mySub", 1,2) and then have a sub that takes those two, do some manipulating and... return something
 

Cableguy

Expert
Licensed User
Longtime User
CallSubDelayed (2-3) can't get result.
because it it only called after the current code finished executing! thus "delayed"
you can also use a "wait for result"
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…