TIP: Click on subject to list as thread! ANSI
echo: cis.os9.6809.coco
to: Joseph Cheek 71431,3466 (X)
from: Pete Lyall 76703,4230
date: 1992-04-24 12:12:36
subject: #15054-#help with C

#: 15057 S10/OS9/6809 (CoCo)
    24-Apr-92  12:12:36
Sb: #15054-#help with C
Fm: Pete Lyall 76703,4230
To: Joseph Cheek 71431,3466 (X)

Joseph,

It's so easy, you won't believe it..

Basically, you just merge .r files together, and rename the whole mess
'something.l'.

There are a few tricks though. The main one is to make sure that any element
(.r module)  that references a function in another
r module (in your library) must occur before it in the .l file.

Example:

   a) You have a terminal.r module that manipulates the screen
   b) You have a lowlevel.r module that manipulates hardware,
      and one of it's functions is to create a 'beep' sound that
      will be used as a BELL sound for some of the terminal.r
      functions.

You need to ensure that the order of these is something like this...

  [other modules, if any] terminal.r [other modules, if any] lowlevel.r

And again, all you need to do is merge and rename:

 merge file1.r file2.r file3.r >mylib.l

Pete

There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.