home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
finance
/
tas515dm.zip
/
EXAMPLES.ZIP
/
MS.TAS
< prev
next >
Wrap
Text File
|
1992-09-27
|
767b
|
22 lines
#MAX_QUOTES 1195
#OUTPUT_FILE QUOTES.LST n
if Open[1-Quote_Count] = 0 then
Open[1-Quote_Count] = Close[1-Quote_Count];
for i := (1 - Quote_Count); i <= 0; i := i + 1; begin
if Close[i] <> 0 then begin
if Open[i] = 0 then begin
Open[i] := Close[i-1];
if Open[i] < Low[i] then Open[i] := Low[i];
if Open[i] > High[i] then Open[i] := High[i];
end;
writeln(trim(Ticker),',',format(dates[i],'%6.0f'),',',
trim(format(Open[i],'%8.3f')),',',
trim(format(High[i],'%8.3f')),',',
trim(format(Low[i],'%8.3f')),',',
trim(format(Close[i],'%8.3f')),',',
trim(format(Volume[i],'%8.0f')),',0,');
end;
end;