TIP: Click on subject to list as thread! ANSI
echo: muffin
to: Mark Lewis
from: Wes Garland
date: 2003-06-12 08:43:18
subject: Squish progress

> don't knock pascal because its old and was developed a
> teaching language...
 
Hell, I wish more programmers had Pascal under their belts. It teaches some
really good habits, particularly with respect to records (structs) and sets
(sort-of-enums).
 
C is a great language (I do almost nothing but), but it's a lousy language
for someone who hasn't been programming under another HLL for quite a long
time. It's just too easy to do cool stuff.
 
Of course, the one thing missing from Pascal is function pointers. Under
TP6.0, though, you could take the address of a function with the {at} operator
in .asm mode, and call it with inline assembler (and Pascal symbols) by
populating the stack yourself and jumping to the function's start address.
:)
 
That said, you can "fudge" function pointers with sets and a jump
table function -- which is the right Pascal way to do things, but not the
fastest way known to mankind. And when I was still programming in Pascal, a
386 DX-33 was actually considered to be a pretty happenin' box.
 
Wes

--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 633/267 270
@PATH: 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.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™.