110883     ASKVAL  Version: 2, June 1987
 
Submitted by: Jean-Francois Vibert, CHU Saint Antoine, 75571 Paris
Cedex 12, France
 
Operating System: RSX-11M, RT-11  Source Language: C  Software
Required: DECUS Program No. 11S018  Keywords: Tools - Applications
Development
 
Abstract: ASKVAL.H is a header file to include in C programs. It
provides an easy way to prompt for a value, with a
possible default (CR only) answer.  Two sets of symetric
functions are defined: askival, askfval, askcval and asksval
versus faskival, faskfval, faskcval and fasksval.  The
first reads the stdin with a prompt on stderr, while the
seconds read in a file.  It replaces scanf and fscanf in
the simple cases. ASKVAL was tested on RSX and RT-11.
 
Notes: Program was tested with DECUS C, DECUS Program No. 11S018.
 
Media (Service Charge Code): One RX01 Diskette (KA)  Format: FILES-11,
600' Magnetic Tape (MA)  Format: FILES-11
 
 
