l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Jun 05 17:24

The following is an archive of a post made to our 'vox mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox] Gopher: New use for old software.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox] Gopher: New use for old software.

On Wed, Jun 05, 2002 at 02:09:36PM -0700, Mark K. Kim wrote:
> I guess it depends on what "portable" means.  Is a language portable if
> programs *can* be made portable, or if it *forces* programs to be
> portable?

If the former, then even BASIC is portable :)


To hell with the fact that this on a Commodore won't work on an Atari:

  10 INPUT A$
  20 PRINT "HELLO ";A$
  30 GOTO 10

You need:

  5 DIM A$(40)
  10 INPUT A$
  20 PRINT "HELLO ";A$
  30 GOTO 10

And that this on an Atari won't work on a Commodore:

  10 LET CATS=10
  20 LET CARS=2
  30 PRINT "There are ";CATS;" cats and ";CARS;" cars."

(On a C=64, both variables are the same:  "CA"
On an Atari, they're distinct variables, "CATS" and "CARS", like you'd expect)

This isn't even getting into the differences, say, between doing graphics
primitives in Apple BASIC, Atari BASIC and Microsoft QBASIC.


But - that first 'program' at the top is portable! ;)

vox mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.