ערכתי לאחרונה בתאריך 16.02.05 בשעה 14:18 בברכה, מלאך המוות
https://rotter.name/User_files/nor/4213399d44ad939d.txt
זה עבודה שעשיתי ויש שם איזה שורה שהוא עושה עליה
error 113: error in statementאם מישהו יכול להסתכל ולראות מה הבעיה..
הוא הנה אני אפילו יביא לכם חלק מהתכנית שתראו
while mach<>'S' do
begin
if mach='m' then
begin
writeln ('enter the sum of your buying');
readln (sum);
msum:=msum+sum;
i:=i+1;
writeln ('enter the department ');
readln (mach);
while (mach<>'m') and (mach<>'f') and (mach<>'S') do
begin
writeln ('you have error in typing, plz type in again');
writeln ('enter the department ');
readln (mach);
end;
end;
else if mach='f' then <--------------------- פה הוא עושה error in statement
begin
writeln ('enter the sum of your buying');
readln (sum);
fsum:=fsum+sum;
r:=r+1;
writeln ('enter the department ');
readln (mach);
while (mach<>'m') and (mach<>'f') and (mach<>'S') do
begin
writeln ('you have error in typing, plz type in again');
writeln ('enter the department ');
readln (mach);
end;
end;
end;
דרך אגב בקובץ טקסט רואים את זה קצת יותר מסודר