Granularity

 BBS: Inland Empire Archive
Date: 08-12-92 (08:30)             Number: 66
From: LUIS ESPINOZA                Refer#: NONE
  To: DEREK LYONS                   Recvd: NO  
Subj: Granularity                    Conf: (2) Quik_Bas
On (09 Aug 92) Derek Lyons wrote to Brent Ashley...

 DL> What I meant was, 'which is more granular when used in a LIB?'.
 DL>
 DL> What I'm seeking it the best way to arrange the SUB's in a LIB so
 DL> that LINK pulls in the minimum extraneous stuff as possible.
 DL>
 DL> Derek L.
 DL>     MegaMail 2.10 #0
 DL>
        The Grabularity of subs depends on if they call each other for
various other support functions. Like in an input routines you can have
the following, which aren't very granular because one function depends
on an external function... To make it granular you would have each
function non-dependant on other functions..... Simple, eh? Luis


function 1keyf$
  1keyf$=1key(a$)
end function

function inpt$(Max as integer)
  a$=""
  for i=1 to Max
     a$=a$+1keyf$
  next
  inpt$=a$
end function



--- PPoint 1.33
 * Origin: The Rubber Room (1:207/213.5)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET