🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #58

Re: hot shot basic programmers

#58
From: JOHN RICHARD JOHNS
Date: Wed, 08 Apr 1992 18:37
14 lines
1130 bytes
Actually, it *IS* possible to add movement, home, and clear screen commands
to your BASIC strings.  Get a copy of the ASCII table.  There are ASCII
characters that represent left, right, up, down, and clear/home (I'm not
sure about just HOME by itself).  I'm pretty sure that character 12 (which
is FORM FEED for printers) is the character you want.  Use
   A$=CHR$(12)
   ? A$
...and that should clear the screen, for example.  The unfortunate drawback
is that instead of having a special character appear in the string, you
have to stop in the string and reference the number code.  If you REALLY
want fast animation, I suggest you use screen pagination or extensive use
of the LOCATE command.

-John
Technical Details
Message-ID: <1992Apr8.183710.16168@ncsu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rock!taco!jrjohns
References: <1992Apr2.233320.8257@unlv.edu> <1992Apr07.064512.2273@public.sub.org>

Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rock!taco!jrjohns
From: jrjohns@eos.ncsu.edu (JOHN RICHARD JOHNS)
Subject: Re: hot shot basic programmers
Message-ID: <1992Apr8.183710.16168@ncsu.edu>
Sender: news@ncsu.edu (USENET News System)
Organization: NCSU Project Eos
References: <1992Apr2.233320.8257@unlv.edu> <1992Apr07.064512.2273@public.sub.org>
Date: Wed, 8 Apr 1992 18:37:10 GMT