Het lukt me niet om de Exception Handling aan de praat te krijgen.
Als voorbeeld de volgende code:
type Numeric_Error = Class(Exception);
begin
Readln (Massa);
Except
On Numeric_Error Do Writeln ('Invalid input');
end;
Bij compileren krijg ik de volgende foutmeldingen:
identifier Class not found
identifier Exception not found
Als voorbeeld de volgende code:
type Numeric_Error = Class(Exception);
begin
Readln (Massa);
Except
On Numeric_Error Do Writeln ('Invalid input');
end;
Bij compileren krijg ik de volgende foutmeldingen:
identifier Class not found
identifier Exception not found