I want to draw a Circle with die command-line "Circle (X, Y, Radius);". When compiling the program this line produces the following Syntax Error: "." expected, but "(" found. Why?
Here ist the complete Programm-Code:
PROGRAM Circle;
USES Graph;
VAR
gd, gm: Integer;
BEGIN
gd := Detect;
InitGraph(gd, gm, '');
if GraphResult <> grOk then
begin
Writeln('Fehler beim Initialisieren des Grafikmodus.');
Halt(1);
end;
Circle (100,100,50);
readln;
CloseGraph;
END.