define argument types in subs - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: QBasic (http://qbasicnews.com/newforum/forum-4.html) +--- Forum: QB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-11.html) +--- Thread: define argument types in subs (/thread-3186.html) |
define argument types in subs - oracle - 03-02-2004 TBBQ, your code will work, but you need to DECLARE SUB mysub( foo() AS ANY, i%) define argument types in subs - TheBigBasicQ - 03-02-2004 Code: TYPE mytype Oracle this exact code will works =). I tried it out just now =P. define argument types in subs - oracle - 03-03-2004 I didn't say it wouldn't. I just said that you or the compiler would add the line I wrote above |