unit Graph in free pascal missing ( pascal in debian )
Uh oh. Looks like your using an ad blocker.
Our site is support by ads that help to pay our hosting costs. Please disable or whitelist us within your ad blocker to help us keep the site online.
All money generate by ads and donations is used to pay the hosting costs of the site, for more information about our income and expenses please see our donation page.
i want to program in Pascal on debian based distro bunsen labs linux i ve installed free pascal ( code : sudo apt-get install fp-ide fp-compiler fp-units-* fp-utils ) this is sample program code i was trying to compile:
Uses Crt,Graph; Var sterownik,tryb,i:Integer;
Sterownik:=detect; InitGraph(sterownik,tryb,''); For i:=1 to 100 do Begin SetColor(12); Circle(i,100,i); Setcolor(4); Begin SetColor(13); Bar(500,120,100,200); End; Setcolor(9); Ellipse(500,100,0,360,50,i); SetColor(11); Circle(i,200,i); Setcolor(5); Ellipse(500,200,0,360,50,i); Begin Bar3D(400,200,200,400,50,TopOn); End; End; Delay(1000); CloseGraph;
i got the compiling error message : can't find unit Graph
what am I doing wrong ? or Is it possible to use unit graph in free pascal ? any help will be appreciated.