home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!ogicse!cs.uoregon.edu!news.uoregon.edu!nntp.uoregon.edu!stevev
- From: stevev@miser.uoregon.edu (Steve VanDevender)
- Newsgroups: comp.sys.hp48
- Subject: Re: Can a HP48 do this?
- Message-ID: <STEVEV.93Jan9224440@miser.uoregon.edu>
- Date: 10 Jan 93 06:44:40 GMT
- Article-I.D.: miser.STEVEV.93Jan9224440
- References: <MHEISKAN.93Jan9150319@lk-hp-7.hut.fi> <jcook.0ne0@cryo.rain.com>
- <1io9i0INNe1o@life.ai.mit.edu>
- Organization: University of Oregon Chemistry Stores
- Lines: 41
- NNTP-Posting-Host: miser.uoregon.edu
- In-reply-to: rwed@gnu.ai.mit.edu's message of 10 Jan 93 04:43:44 GMT
-
- In article <1io9i0INNe1o@life.ai.mit.edu> rwed@gnu.ai.mit.edu (N7YVM) writes:
-
- Im wondering if it is within the realm of possibility that an HP48s could
- preform as a simple text editor of sorts. Nothing fancy, just keep a
- block of text in memory that would be editable. The editor functions
- would be akin to the most simple of full screen editors for PC's. Insert
- delete, write over, move the cursor around.
-
- There is already a simple text editor built in that can be used
- on string objects. It has all the features that you mention, but
- not much more. It is sufficient for editing programs and viewing
- and editing other kinds of objects. The built-in editor is
- rather slow for very long strings or large objects.
-
- Others have written more sophisticated text editors.
-
- Would a HP48s be able to do this? If so would 1 char be stored as 1 byte,
- and also could the text be encrypted and decrypted using a simple cipher
- algorithm. That would require individual addressing of each letter
- as a number (for example ASCII)
-
- The HP 48 uses the ISO 8859-1 character set (with HP 48-specific
- characters in codes 128-159). There are also functions for
- converting character numbers to single-character strings or
- single-character strings to character numbers, and the ability to
- extract individual characters or substrings from strings.
- Strings can be up to 512K characters in length (although with
- memory limited to an absolute maximum of 288K bytes the
- theoretical limit is much higher than the practical limit).
-
- I believe that someone wrote a simple encryption program for
- strings within the last few months.
-
- Note that the HP 48S is not expandable and is limited to a total
- of 32K bytes of memory. If your application would ever need more
- than this you would need to get an HP 48SX.
- --
- Steve VanDevender stevev@greylady.uoregon.edu
- "Bipedalism--an unrecognized disease affecting over 99% of the population.
- Symptoms include lack of traffic sense, slow rate of travel, and the
- classic, easily recognized behavior known as walking."
-