From helens!shelby!rutgers!usc!samsung!rex!rouge!pc!el365115 Sun Jul  8 22:37:04 PDT 1990
Status: RO

Article 2112 of comp.sys.handhelds:
Path: helens!shelby!rutgers!usc!samsung!rex!rouge!pc!el365115
>From: el365115@pc.usl.edu (Doan Tu Thanh)
Newsgroups: comp.sys.handhelds
Subject: Scrolling for the HP28S
Message-ID: <11227@rouge.usl.edu>
Date: 8 Jul 90 19:47:16 GMT
Sender: anon@rouge.usl.edu
Organization: Univ. of Southwestern La., Lafayette
Lines: 40

Hello there,


Each program below takes a string from the stack and scrolls it across the
top line.  The program L->R scrolls the string from left to right, and the
program R->L scrolls the string from right to left.  The maximum number of
characters is 22 (excessive characters are truncated).  The two programs are
basically the same with a few number changes.  To quit the program, first press
any key except the [ON] key, then press the [ON] key.


Tu Doan 


----------

L->R     [EF95]

<< 1 22 SUB 1 DISP
LCD-> 1 137 SUB
  DO DUP 137 137 SUB
SWAP 1 136 SUB + DUP
->LCD
   UNTIL KEY
   END CLEAR
>>



R->L     [DAC8]

<< 1 22 SUB 1 DISP
LCD-> 1 137 SUB
  DO DUP 2 137 SUB
SWAP 1 1 SUB + DUP
->LCD
   UNTIL KEY
   END CLEAR
>>
 


