🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.misc
Article #136

Re: Need help to Modify a Pascal Program

#136
From: George C. Lindauer
Date: Thu, 01 Jan 1998 00:00
46 lines
3298 bytes
Vic (tudor@cam.org) wrote:
> George C. Lindauer wrote:
> > I'm pretty dumb, I've got it halfway done!

> Ugh, me too...
> I was really bored, had nothing to program, so this made my day...
> BTW: did you try to convert that piece of shit (really poorly written
> code) or did you start from scratch? Did you do any animations and shit
> like that?

I don't like writing from scratch so what I did was just rewrite
the thing one peice at a time.  First thing I did was get rid of
all the recursive procedure calls, that is a sure way to a dead
program :).  Then I rewrote the menu procedure so I could use it
for any sized menu.  But the disk I/O stuff was totally fried, I just
did a wholesale delete and started writing from scratch when I hit
that.  The first time I ran the program it wouldn't even run
because it wasn't capable of creating an inventory file if one
didn't exist.  Now I only use one file, although I'll probably have to
go for a temp file when I do the sort.  The only animiation I am going
to do is a banner type thing where I do the company name in big letters.
But I am waiting till I get everything else done.

> I think I'm gonna finish this anyways, I'm bored. If this is an
> assignement for school, the dude is gonna get fried anyways. If he can't
> do something as simple as this, he's allready dead ;) 

Oh when you get done be sure to send it to him, might as well shower him
with the things since he wants one so bad!

David
> > I don't really care what it is, I never had a chance to break out my TP7
> > package and now that I have I am having a real blast!  This is cool, it
> > beats C all to peices! 
> What?? Beats C?? No way...
> I learnt programming in Pascal. 1 year. Been programmin in C for the
> past 2 years. This is my first pascal program since my course 2 years
> ago. I now find this language HORRIBLE!
> I tried different compilers, cause I don't have borland pascal...
> None of them compiles the same program without errors!
> 1 program I write on FPK pascal gives stupid type mismatch on TMT and
> tons of syntax errors on GNU pascal...
> I will NEVER go back to pascal again!!
> -- 
> --> http://www.cam.org/~tudor <--
Technical Details
Message-ID: <68f3oq$c2s$1@hermes.louisville.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <883421121.875036673@dejanews.com> <01bd1638$80662780$990dc6cf@comp> <68elu6$7s4$1@hermes.louisville.edu> <34AAE710.217D@cam.org>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f6aa,97f8c4711768fd31
X-Google-Attributes: gid10f6aa,public
X-Google-Thread: 10261c,97f8c4711768fd31
X-Google-Attributes: gid10261c,public
X-Google-Thread: 108ebd,97f8c4711768fd31
X-Google-Attributes: gid108ebd,public
X-Google-Thread: 108717,97f8c4711768fd31
X-Google-Attributes: gid108717,public
X-Google-Thread: 102bfa,97f8c4711768fd31
X-Google-Attributes: gid102bfa,public
From: gclind01@spd.louisville.edu (George C. Lindauer)
Subject: Re: Need help to Modify a Pascal Program
Date: 1998/01/01
Message-ID: <68f3oq$c2s$1@hermes.louisville.edu>
X-Deja-AN: 311808352
References: <883421121.875036673@dejanews.com> <01bd1638$80662780$990dc6cf@comp> <68elu6$7s4$1@hermes.louisville.edu> <34AAE710.217D@cam.org>
Followup-To: comp.lang.pascal.misc,comp.programming,borland.public.turbopascal,comp.os.msdos.programmer,alt.msdos.programmer
Organization: University of Louisville
Newsgroups: comp.lang.pascal.misc,comp.programming,borland.public.turbopascal,comp.os.msdos.programmer,alt.msdos.programmer