Furthermore, the screens are defaulted to 800x600. If you have good eyes, you can consider changing the resolution to 1024x768. A higher resolution means effectively smaller fonts, but you can also fit more information on one screen (such as the browser and FreePascal) at once. Another trick is to change the font of your DOS box (with Borland Pascal or FreePascal running in it). This is done by the following steps:
You have to do this every time you log in at the lab because those machines reset the defaults after every reboot.
With Free Pascal installed, you can now write your first program. Invoke Free Pascal (use the shortcut set up in the previous section). By default, Free Pascal opens a blank editor screen for you.
Type the following program in the editor. Be sure to observe the punctuations.
begin
writeln('test!')
end.
You have to save a program before running it. Click the ``File'' menu and
select ``Save''. Although the filename is not important, I will make sure
it is up to eight characters long with an extension of .PAS.
Now click the ``Run'' menu and select ``Run''. Your screen will flicker
a little when the program runs (because it is completed so quickly).
To see the output of your program, click the ``Debug'' menu, then
select ``Output'', you should see test! in this screen.
You have just written your first Pascal program that did something!
When you are done, click the ``File'' menu and select ``Exit''.