🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #6499

Need help with BASIC compiler

#6499
From: Daniel Rosenberg
Date: Sat, 10 May 1986 19:46
26 lines
1511 bytes
Help!

I'm using the IBM Basic Compiler (version 2) on an AT&T PC 6300,
with 640K of memory.

I'm trying to have a main module, in one source file, CALL with
variables to be passed to a subprogram in another source file.
It all compiles and links fine, but:

1) Some of the variables (which are two-dimensional arrays) get
weird values in them.

2) Some of the original ON KEY (n) statements from the
main program don't call the corresponding routines in the
subprogram, but go back to the MAIN program. How can I keep
this from happening?

3) All sorts of other weird erros creep in, usually manifesting themselves
in the form of ILLEGAL FUNCTION CALL IN LINE 0 IN MODULE <subprogram>

Can anyone give me any help at all? Really appreciated! Thanks,

-- 
############# Dan Rosenberg ### CE @# AT&T Bell Labs, Murray^Hill ##########
#         [ These opinions are necessarily mine, not my emp/o\yer's. ]     #
## UUCP: {ihnp4 || research || allegra}!alice!d #AT&T: 201/582\9428 (work)##
Technical Details
Message-ID: <5433@alice.uUCp>
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!harvard!seismo!gatech!akgua!whuxlm!whuxl!houxm!ihnp4!cbosgd!ulysses!allegra!alice!d

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!harvard!seismo!gatech!akgua!whuxlm!whuxl!houxm!ihnp4!cbosgd!ulysses!allegra!alice!d
From: d@alice.UucP (Daniel Rosenberg)
Newsgroups: net.micro.pc
Subject: Need help with BASIC compiler
Message-ID: <5433@alice.uUCp>
Date: Sat, 10-May-86 15:46:53 EDT
Article-I.D.: alice.5433
Posted: Sat May 10 15:46:53 1986
Date-Received: Wed, 14-May-86 06:36:58 EDT
Organization: Bell Labs, Murray Hill
Lines: 26