🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1820

Procedure Variables and Records and Sorting

#1820
From: George Emery
Date: Tue, 19 Mar 1991 18:36
11 lines
1155 bytes
Making use of procedure variables to set the sort method is old hat
to most folks.  What I'm trying to figure (can it even be done?) is
a way to allow a procedure to sort different types of records.  Say, for instance, you have several different types of records that happen to have integer values which are meaningful across all the records, but each record type has nothing else in common.  Is there a way to write a generic sort routine?  Or is this too far into object-oriented programming to not be Modula-2?
 
GE



--  
uucp: uunet!m2xenix!puddle!6.0!George.Emery
Internet: George.Emery@p0.f6.n105.z1.fidonet.org
Technical Details
Message-ID: <2848.27E71773@puddle.fidonet.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!zephyr.ens.tek.com!tektronix!percy!m2xenix!puddle!p0.f6.n105.z1.fidonet.org!George.Emery

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!zephyr.ens.tek.com!tektronix!percy!m2xenix!puddle!p0.f6.n105.z1.fidonet.org!George.Emery
From: George.Emery@p0.f6.n105.z1.fidonet.org (George Emery)
Newsgroups: comp.lang.modula2
Subject: Procedure Variables and Records and Sorting
Message-ID: <2848.27E71773@puddle.fidonet.org>
Date: 19 Mar 91 18:36:12 GMT
Sender: ufgate@puddle.fidonet.org (newsout1.26)
Organization: FidoNet node 1:105/6.0 - DawgGone Disgusted, Portland OR
Lines: 11