home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG053.ARC
/
MONITOR.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1979-12-31
|
768b
|
26 lines
{file MON.INC}
program mon;
var
place,place1: real;
{$I MONITOR.INC}
begin
clrscr;
write('Input memory location (in decimal): ');
repeat read(place) until (place >=0) and (place < 65536.0);
if place = 32768.0 then place := 32767.0;
if place > 32767.0 then place := place - 65536.0;
repeat
place1 := place;
seemem(trunc(place),15,false);
writeln;
repeat
write('Input another value (same value to stop): ');
read(place);
until (place >=0) and (place < 65536.0);
if place = 32768.0 then place := 32767.0;
if place > 32767.0 then place := place - 65536.0;
until place1 = place;
end.