TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: RICK PEDLEY
from: BILL WHITE
date: 1998-03-16 00:12:00
subject: Old Folks

RP> It can really streamline your code at times. I love to use it when
RP> testing for even or odd numbers, for example:
RP> IF Number% AND 1 THEN 'odd
RP> is much nicer than
RP> IF Number% \ 2  Number% / 2 THEN
     And then there is
 IF Number% MOD 2 THEN
  FIDO: Bill White @ 1:135/110 (Miami)
 InterNet: bill.white@110.sunshine.com
 * SLMR 2.1a * When someone offers to pay you now or later, choose now!
--- Maximus 2.01wb
BL> Good for you, Rick! Now I don't feel so guilty about throwing away
my
BL> nifty plastic flow-chart template ruler thingie as soon as I got my
A
BL> in college BASIC programming. :) Like you, I find it much easier to
BL> sit down and think the program out, then start typing it in.
     I program much like I write letters.  Business
letters are usually short and to the thought-out point.
But personal letters I just sit down and start typing
and see what comes out.  The nice thing about doing
them with a word processor vs a typewriter is that I no
longer have the phrases like "Oh, yes, when I said such
and such, I should have added..."
     Much the same with programming.  And in BASIC with
line numbers (before I had a renumber utility) I would
have odd GOSUBs and GOTOs to stick things in - yes, the
GOTO police were always after me!  Now I'll only use
GOTO as a debugging tool.  "OK, that section works,
let's bypass it for now while I get the next section
working", things like that.  Easier than REMing out
three dozen lines!
     I'll usually write the program in a rather simple
fashion, getting it working.  They I begin to add bells
and whistles, a phase that sometimes never ends!
     But then again, I write code for pleasure.
Structure doesn't seem to fit my definition of fun!
  FIDO: Bill White @ 1:135/110 (Miami)
 InterNet: bill.white@110.sunshine.com
 * SLMR 2.1a * Improve your performance by improving your attitude!
--- Maximus 2.01wb
---------------
* Origin: Miami Amateur Computer Club BBS/USR Courier V.E (1:135/110)
* Origin: Miami Amateur Computer Club BBS/USR Courier V.E (1:135/110)

SOURCE: echomail via exec-pc

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™.