PAL CARD CATALOG ENTRY

SHORT DESCRIPTION

Input of data from the keyboard while doing error checks


MOVEMENT WITHIN THE PAL CARD CATALOG
Move to top-level taxonomy
Move to keyword list

ASSET PROFILE

UNIT NAME
SAFE_IO (SAFEIO)
VERSION
1.0
REVIEW CODE
AR; C1 1.0 A
INET ADDRESS
ANDERSON%TI-EG@CSNET-RELAY
AUTHOR
John A. Anderson
TEXAS INSTRUMENTS MS 8006
P.O. BOX 801
MCKINNEY, TEXAS 75069
RIGHTS
PUBLIC DOMAIN
COPYRIGHT
(c) 1984 John A. Anderson
DATE CREATED
OCTOBER 2, 1984
DATE RELEASED
NOVEMBER 27, 1984
DATE LAST UPDATED
ANDERSON Wed Nov 27, 1984
LOCATION
C2MUG
PC-BLUE
ASR
AdaNET
ENVIRONMENT
DEC VAX/VMS, DEC Ada
LIMITATIONS
Not documented in PAL database
CERTIFICATION
Ada System Certifier_1 1.0
Date/Time of Processing: Monday    30 May       1994 09:27:20Pm
Overall Assessment of System: OK
Classification of System: A
Basis of Classification --
Syntax Errors                               PASS
Completeness                                PASS
Independence from External Libraries        PASS
Independence from a Specific Ada Compiler   PASS

Number of ...
Files               1
Library Units       2
Lines             265
Statements        109
Comments           71

FILE LISTING

Directory Display


languages/ada/asr/components/safeio:
  File Name                 Size
  ---------                 ----
  safeio.zip               3,882


Totals
  ==============  ==============
    1 Files                3,882

ABSTRACT

        This generic package allows the user to input data types  from
the  keyboard  while  checking  the  input  for errors.  (Proper Type:
syntax and ranges.)
        A  procedure  for  checking  input  of characters for a proper
subrange of the character set is provided.
        When  an  error  is encountered, an error message is displayed
and the user is allowed to reenter.  Output routines are  provided  to
allow  the  user  to  do  I/O  with  only  one  instantiation.  Screen
manipulation (i.e.  NEW_LINE) should be done with TEXT_IO directly.
        Instantiations  require  a  FIELD_WIDTH  which  specifies  the
maximum field width for the input of the corresponding type.


REVISION HISTORY

DATE         VERSION	AUTHOR                  HISTORY
11/27/84	  1.0	Anderson		Initial Release


RELEASE NOTICE

This prologue must be included in all copies of this software.

This software is copyright by the author.

This software is released to the Ada community.
This software is released to the Public Domain (note:
  software released to the Public Domain is not subject
  to copyright protection).
Restrictions on use or distribution:  NONE


DISCLAIMER

	This software and its documentation are provided "AS IS" and
without any expressed or implied warranties whatsoever.  No warranties
as to performance, merchantability, or fitness for a particular
purpose exist.
	The user is advised to test the software thoroughly before
relying on it.  The user must assume the entire risk and liability of
using this software.  In no event shall any person or organization of
people be held responsible for any direct, indirect, consequential or
inconsequential damages or lost profits.