callling module subs

new BookmarkLockedFalling
billw
Guest

Guest Avatar

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?
carlgundel
Administrator
*****
Creator of Run BASIC

carlgundel Avatar

Posts: 975

billw
Guest

Guest Avatar

carlgundel
Administrator
*****
Creator of Run BASIC

carlgundel Avatar

Posts: 975