|
Post by billw on Sept 16, 2007 15:04:02 GMT -5
In one of my RB projects, all the login junk is handled in a module. The code to handle displaying a login box is all in a sub called loginBox (creatively enough).
Now, in the main program I call it like this:
run "tfLoginBox", #tfLoginBox #tfLoginBox loginBox() wait
RB doesn't seem to like that. What's the proper syntax for calling module subs?
|
|
|
Post by carlgundel on Sept 16, 2007 16:37:16 GMT -5
You cannot currently call subs from modules. You need to make it a function.
-Carl
|
|
|
Post by billw on Sept 16, 2007 17:02:34 GMT -5
Thanks for the info. Will this be allowed in the future?
(might wanna move this to the beta testing board, since we're drifting in that direction..)
|
|
|
Post by carlgundel on Sept 16, 2007 17:18:59 GMT -5
Thanks for the info. Will this be allowed in the future? Quite probably. -Carl
|
|