When you open Lazarus (I have no idea wha happens the first time, it was a long time ago) I think a new appplication is already started. If it is go to file New... and then a window will open asking you what do you wan to start. Pictures:
Now to explain the things in these pictures. I'll skip new unit and form because that is too complicated to explain to begginers in Pascal and programming. I told you to go to New... because there you can choose to start a non-graphical program which is named Program, unlike Application which is a graphical Pascal program which we will cover later. Right now the only thing that is important is for you to know how to start a new non-graphical program in order to study with me and practice on your own. This is where we will start our journey. On the end of each lesson I'll give you a few excercise so you can brush up on your skills. I won't cover saving, everyone knows how to save.
Once you select Program and click OK in the New ... window you should see this:
Delete all of it we don't need that right now. After you deleted that, I am happy to say now you know how to start making a Pascal program in Lazarus.
Next on FPC, in the previous lesson I provided a link. Once you download it, install and there should be an icon on the desktop to open it. Once you open it a small window will appear you can modify the size by clicking right click on the icon, properties and mess with the things there. I won't cover it here. anyway you should see something llike this:
It's very easy to use, to start a new program in the directory you want, first you'll have to change it. To do that go to file Change dir.... and once you chose a directory, in the same menu click on new. I am happy to say that you know how to make a Pascal program in FPC. That is it for this lesson, if it can even be called one.
In the next part I'll start with the real thing.
No comments:
Post a Comment