Where in the general structure of a lazarus 2.0.0 program do you place a procedure, and what is the correct syntax for it.
That question is too general: One answer? Wherever it'll do most good
If you really know nothing about Pascal (as your question seems to imply), start here:
Object Pascal Tutorial and keep searching for and reading other tutorials and trying simple programs until you get the knack of it.
Then, when you have a
concrete question (for example when it's better to use an independent proc vs. an object's method), come back and ask. We will do our utmost to help you.
Best of lucks!