I need to draw some diagonal and horizontal lines, and after reading the turbo pascal manual I decided that the polyine function would probably be the easiest way. Anyways I set up the code like they had it in the book, and for some reason it won't compile. Does anyone know what i'm missing here? Any help would be greatly appreciated.
program chyeah (input,output);
procedure TMYWindow.Paint (PaintDC: HDC; var PaintInfo:
points: array[0..2] of Tpoint;