warum bekomme ich hier für die Funktionszeile

Kochrezept17.pas(39,12) Fatal: Syntax error, ";" expected but "identifier ISINTEGER" found
Code: Alles auswählen
program Kochrezept (input, output);
const
FELDGROESSE1 = 100;
const digits = ['0'..'9'];
type
tIndex = 1..FELDGROESSE1;
tZahlenfeld1 = array [tIndex] of integer;
tZahlenfeld2 = array [tIndex] of real;
tZahlenfeld3 = array [tIndex] of string;
var
i : tIndex;
Anzahl,
Anzahl2,
Zahl : integer;
AnzahlString : string;
f: real;
Gramm : tZahlenfeld1;
Grammneu : tZahlenfeld2;
Zutaten : tZahlenfeld3;
result : boolean;
begin
writeln('Geben Sie die Personenanzahl Ihres Rezeptes an. ');
readln(AnzahlString);
writeln('Geben Sie die Anzahl ihrer Zutaten an. ');
readln(Zahl);
for i := 1 to Zahl do
begin
writeln('Geben Sie die Menge in Gramm ein.');
readln(Gramm[i]);
writeln('Geben Sie die Zutaten ein. ');
readln(Zutaten[i]);
end;
[b] function IsInteger(AnzahlString: string): boolean; inline;[/b] :mrgreen:
var
c: char;
begin
Result := AnzahlString.length > 0;
for c in Anzahlstring do
if not (c in ['0'..'9']) then
result := False;
end;
Gruß Hannah