I don't see my reply from last night, so I will reply again.
Me neither so apparently something did go wrong there.
Thank you for the (re-)post.
Problem on the very first line.
From what I gathered you seem new to FPC (or pascal in general).
Note that the compiler is very informative when it comes to encountering (syntax) errors. The compiler explicitly informs at what line/column it encountered an error. You can consider that as being a first hint as of what might be wrong with the code it tries to compile.
Usually pasting that line of code in the forums (use the code tags please if you do) is able to inform us of what might be wrong. Unfortunately programs/code tend to become more complex over time and the compiler is able to confuse itself later on in the compilation process by a mistake in the code made earlier on.
That requires a bigger portion of the source-code to be presented for anyone to be able to understand what might be the culprit.
If the piece of code becomes too large (read hundreds or thousands of lines of code then it also becomes unmanageable for us, and hard to paste between code-tags in a post). In such cases you can zip up your code and attach it to a post.
However, for your own learning experience it might be more fruitful to try and reduce the code into a smaller chunk and that is still able to reproduce the error. The reason for that is that many times when trying to reduce the code people tend to figure out what exactly was wrong with the code to begin with. It is usually the better learning experience.
But what you definitely need to take away from all my rambling is the fact that we cannot see what you are looking at and using pictures/screen-shots is a terrible way to communicate code/errors. Usually pictures are only useful when trying to address a GUI (thus visible) related issue.
After I removed the spaces WHA-LA!, everything worked like a dream.
Good. Thank you for reporting back and great to see you were able to fix the issue (yourself).
And thanks for the advice on how to post code. I'm new and still learning the forum's protocols.
No problem, and in case being uncertain or not knowing then just ask if what you do is the right way or ask how you could do things in a better way (if there is any). We all have started where you are at right now but we tend to forget that wee ever have been there as well (so my apologies in case my response sometimes is a bit short/harsh sounding).
Just notice that however frustrating a problem is for you, we are not able to look at your screen or be able to look into your mind. You have to explicitly inform us of what is happening at your side (well, regarding your code that is. I personally do not care if you were listening to the Rolling Stones or was eating a banana at the time the compiler threw an error at you
)
If there is anything to learn form this all then it is that you need to be as informative as possible and in case possible post your code (sometimes this is not possible because it is company (copyrighted) code but then you are advised to recreate the issue with an example that you are allowed to share).
Thank you for reporting back and good luck with your further endeavors.