Chaining

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

Post Reply
Guest
Chaining

Post by Guest » Wed Dec 18, 2002 2:41 am

Alright. Someone teach me this chain command.

I've got a main program with a menu. User chooses option 1 to 4 and chains to appropriate module. When user is done, I want to chain back to main module. When I do this, I get this message: Bad file mode in module RKEEP at address 5ee6:0195.

The chaining works fine within the QBX environment. When I compile and invoke via EXE's--I get the error. Heeeeeelllllppppp. Thank you.

User avatar
frankiebaby
Global Moderator
Posts:95
Joined:Tue Apr 30, 2002 1:38 am
Location:Pennsylvania
Contact:

Re: Chaining

Post by frankiebaby » Wed Dec 18, 2002 3:21 am

The program you chain to when main module is compiled and run as exe must be an exe. check the help section on CHAIN in QB's online help. why do u want to chain, is the module your chaining to too large to be in the same program?

Jehovah
Jr. Member
Posts:24
Joined:Tue Oct 29, 2002 10:54 pm
Location:Boise, Idaho

Re: Chaining

Post by Jehovah » Wed Dec 18, 2002 10:44 pm

if they are not compiled yet, make sure they are both saved as txt files and not binary.

Post Reply