home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
USCX
/
TURBO-11.ZIP
/
TESTSIGN.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1985-05-17
|
466b
|
32 lines
PROGRAM TestSign;
VAR
Z: REAL;
P: REAL;
Done: BOOLEAN;
(*$I SIGCONST.PAS *)
(*$I ERF.PAS *)
(*$I SIGNORM.PAS *)
BEGIN (* TestSign *)
Done := FALSE;
REPEAT
WRITE('Enter Z: ');
READLN( Z );
IF ( Z <> -99.0 ) THEN
BEGIN
P := SigNorm( Z );
WRITELN('P = ',P:8:6);
END
ELSE
Done := TRUE;
UNTIL Done;
END (* TestSign *).