Lansdowne,
Thank you for the "code tags" explanation.
Re: foundational things. The book gives simple beginning programs, uses new words which are fields, methods, all kinds of things with purposes, if I can't understand the simpler programs, what hope do I have of understanding the coming more complex programs, how would I be able to make sense of anything. I agree they are more complex, but the book could give an explanation of what they are doing.
The DayOfWeek example is from the book: "Getting Started with Lazarus and Free Pascal" by Menkaura Abiola-Ellison, pg56.
Dseligo,
Thank you for your extensive //comments and examples.
"I will endeavor to persevere"- a quote from the movie - The Outlaw Josie Wales.
Thanks to all,
Paul