@coradi:
Note that the documentation for Free Pascal can be found
here especially the "Language reference guide" might come in handy if you are new to Pascal.
Having said that, I do realize/acknowledge that the Free Pascal documentation is far from complete or logical ordered (not everything is explained into detail and there are a lot of features discussed that will probably overwhelm/confuse you as the (object)pascal language itself has improved over time).
When in doubt about the correctness of your book's examples you could try a somewhat older site such as tutorialspoint for example
here about records to verify things (perhaps you are able to find such a site in your native language, that usually helps as well).
In case things are still not clear or you run into errors, then just post about it on the forums (either here or somewhere else) and try to show as much code as possible (even if the original example from your book is wrong -> in which case don't forget to mention that the example-code originates from a book to make clear that it is not your mistake). Many of the older books use example code that is tight to the underlying OS (usually MS-DOS) and not all examples work as expected anymore unless targeting the same platform (most people do not run MS-DOS anymore these days).
PS: Danke fur die links. The book really does it wrong. Weird.