Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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;