🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #3436

Re: Turbo Pascal vs. C

#3436
From: decomyn
Date: Tue, 25 Sep 1990 19:57
14 lines
1295 bytes
In article <410@saxony.pa.reuter.COM> dgil@pa.reuter.COM (Dave Gillett) writes:
>It's true that Turbo Pascal doesn't have built-in support for function 
>pointers. 

This is not true, at least not in Turbo V5.5.  I am currently writing a program
that allows data to be sorted in different orders for viewing on the screen.
Rather than use a CASE statement whenever new data is read in, I have assigned
a PROCEDURE (or FUNCTION -- I am away from the code right now, and can't
remember for sure) variable, and whenever the sorting method changes, I just
change the address in the variable to point to the new routine.  No fuss, no
muss. :-)

Brendt Hess
decomyn@penguin.uss.tek.com
Technical Details
Message-ID: <6616@tekgen.BV.TEK.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!tekgen!penguin.uss.tek.com!decomyn
References: <F*=-d162@cs.psu.edu> <1990Sep20.164153.28641@portia.Stanford.EDU> <5953@plains.NoDak.edu> <410@saxony.pa.reuter.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!tekgen!penguin.uss.tek.com!decomyn
From: decomyn@penguin.uss.tek.com
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: Turbo Pascal vs. C
Message-ID: <6616@tekgen.BV.TEK.COM>
Date: 25 Sep 90 19:57:50 GMT
References: <F*=-d162@cs.psu.edu> <1990Sep20.164153.28641@portia.Stanford.EDU> <5953@plains.NoDak.edu> <410@saxony.pa.reuter.COM>
Sender: news@tekgen.BV.TEK.COM
Reply-To: decomyn@penguin.uss.tek.com (Vergil William de Comyn)
Distribution: comp
Organization: Tektronix, Inc., Beaverton,  OR.
Lines: 14