home *** CD-ROM | disk | FTP | other *** search
- program Daylight;
-
- uses Dos,CRT,
- Globals,Calculate,UI;
-
- const
- Sunup = pi/2;
- Sundown = pi*3/2;
-
-
- var lat,long,zone : Float;
- theYear: longint;
- theMonth,theDay : integer;
-
- sunlight : DayTime;
-
-
-
- function Inputs:Boolean;
- begin
- Inputs := GetInputs(Lat,Long,Zone,theYear,theMonth,theDay);
- end;
-
- begin
- InitInputs(Lat,Long,Zone,theYear,theMonth,theDay);
- Repeat;
- Phenomina(lat,long,zone,theYear,theMonth,theDay,Sunlight);
- ShowResults(Sunlight);
- until not Inputs;
- NormVideo;
- ClrScr;
- end.