Object Pascal is a somewhat extended variant of Turbo Pascal, which is a somewhat extended variant of J&W Pascal. You don't want me to start going on about the precursors or the politics that resulted in Pascal. Honest.
If you don't want or need the OP extensions, then don't use them. Simple as that.
If you feel like writing something that is text-menu based or has an internal command line then do so, but don't knock the efforts of people who've gone to the trouble of providing examples (e.g. of how to get at GPIO bits) and have chosen to save themself effort by using form-based GUI stuff as a wrapper.
FFS, man, *READ* those examples and you'll see that by and large they show you how to do things like accessing the GPIO bits independent of the GUI wrapper. You asked for an example, somebody gave you one: study it.
Now before you tax the community's patience any further, I strongly suggest that you install Lazarus and experiment with using it to develop and debug a couple of simple console-based ** application programs. If you don't like it that's fine, but don't go on to complain that the FP editor or some out-of-tree IDE has poor debugger support (unless, of course, you're prepared to contribute by improving it).
** Text-only. Non-GUI. No forms involved. Runs from the shell. etc. Start off with the canonical "Hello, World!".
MarkMLl