CBLIB
Cyno Basic Library
Version 1.00

Freeware. 12-04-1994

Copyright (C) 1994 by Chieh Cheng. All Rights Reserved.

This is a basic command library for the HP 48. It includes various
routines to accomplish tasks that may be used in your programs. It
is released in library form, so programs using the library do not
need to include the routines in their own directories. It saves
memory when a number of programs require the same routines.

To install the library, upload CB.LIB onto your HP 48, recall it
to the stack, store it into one of the ports, turn your calculator
off, and then turn it back on. CB.LIB may be deleted from your
calculator afterward.

This library may be distributed freely alone or along with your
own programs as long as no modification are made to the library
it self. You may charge a fee for your software, but not for this
library.

The most current version of this library may be obtained from me
at one of the following:

Chieh Cheng

17914 Florwood Avenue
Torrance, CA. 90504-3847

chieh@eecs.ukans.edu

http://falcon.cc.ukans.edu/~mothball/

--------------------------------------------------------------------

Command Reference

ARRY<-N

  Appends an integer to the end of an array. User-RPL
  <- stands for the left arrow; a single character.

              [ z1 . . . zn ] z -> [ z1 . . . zn z ]

ASEARCH

  Searches for an integer in an array or matrix.
  Shows all occurances in a list. User-RPL

              [ z1 . . . zn ] n -> { pos1 . . . posn }

            [ [ i1 . . . in ]
                   . . .        -> { { pos1 } . . . { posn } }
              [ j1 . . . jn ] ]

CBLVER

  Returns the name and version of this library. User-RPL

          -> "CBLIB"
             "Cyno Basic Library"
             "1.00"
             "Copyright (C) 1994 by Chieh Cheng. All Rights Reserved."

LSEARCH

  Searches for an object in a list.
  Shows all occurances in a list. User-RPL

        { obj1 . . . objn } obj -> { pos1 . . . posn }

RANDOM

  Generates a random number between a lower and a upper bound. User-RPL

                          n1 n2 -> n

                       where n1 <= n <= n2

|STR
v
  Strips the first character of a string. User-RPL
  | stands for the down arrow; a single character.
  v
                       "string" -> "tring"

STR|
   v
  Strips the last character of a string. User-RPL
  | stands for the down arrow; a single character.
  v
                       "string" -> "strin"
