On Sat, 17 Nov 2007 00:08:59 +0100, Peter Knutsen
<peter@[EMAIL PROTECTED]
> wrote:
>Is there a CHR$ command in MS QBASIC to move the cursor one step to the
>left?
>
>I'd like to include a "progress timer" in a little program, and I
>thought it could be cute if it was a line that got filled out slowly,
>first with a grey minus (-), then the minus replaced with a grey plus
>(+), then the grey plus replaced with a white plus (+).
>
>(Maybe dark grey first, then light grey, then white, then change minus
>to plus?)
>
>I could do that with LOCATE, but I'd prefer to avoid having to use that
>command for this particular program.
>
>I'm pretty sure that way back in the old days, Amstrad Locomotive Basic
>1.0 (for the CPC 464) could do some *very* fancy things with the CHR$(X)
>function for values of X lower than 32.
>
>Can QBASIC do something similar? All I know about are 7 which is the
>bell, and 32 which is a space.
Well, the car in question is 8 (Backspace), but it doesn't work in
QBasic.
<snip>
--
ArarghMail711 at [drop the 'http://www.'
from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html
To reply by email, remove the extra stuff from the reply address.


|