Sign in Join
Wiki copytemporary

Forum: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11The [Lazarus and Free Pascal forum](https://forum.lazarus.freepascal.org), which acted for a while as the welcome page for the Lazarus project, is a common place to ask questions and the best place for discussions. It's a more user friendly way of communication and might be preferred by beginning users than the mailing lists.
22
33Its web address is: [<https://forum.lazarus.freepascal.org>](https://forum.lazarus.freepascal.org)
44
55While the forum is usually a rather friendly place, you'll have a better experience if you follow the following guidelines, incomplete as they are.
66
77## How to ask for help effectively
88
99These are just a few tips on how to ask for help in a way which will help others to help you in the most effective way. These tips should save you, and the other forum users who try to help you, time in arriving at an answer to your question or solution to your problem.
1010
1111- Please **do not** add your unrelated question or unrelated problem to someone else's existing forum thread. Instead, start your own new topic thread with a new post. This will help both you with your question or problem *and* the original topic poster with their question or problem.
1212
1313- Please try to put your question or problem in the forum that is most relevant to your question or problem. While this may appear obvious, anyone who has used forums knows that a lot of questions end up in the wrong place. As a result, users with expertise or knowledge of the particular topic may never see the post and will therefore not be able to help you.
1414
1515- Please think carefully when choosing a title for your forum post. It should briefly and accurately describes your problem. A title like "Question ?!!!!", "Can you help me" or "Need a little help please" (these are actual forum post titles) may be ignored. Almost any problem can be given a relevant title with a few key words that will attract the interest of somebody who is familiar with the subject. A corollary to this is to avoid using ALL CAPITAL LETTERS or a lot of exclamation points. A forum post title of "HELP!!!" is not likely to get you any help.
1616
1717- In your forum post, please briefly describe your question or the problem you have in a paragraph or two. Try to leave out any unnecessary details. Save everybody time by mentioning any solutions that you may have tried but which did not work.
1818
1919- In your forum post, please describe the relevant system details. For example, it is essential to provide:
2020 - the name of your operating system
2121 - the version of your operating system
2222 - the version of your Free Pascal Compiler
2323 - the version of your Lazarus IDE
2424 - the version of any Lazarus IDE add-on components or libraries
2525 - all error messages that were displayed
2626 - any additional details that you may be asked to provide.
2727
2828- Please describe what you were doing when you encountered the problem. If the problem is reproducible, please list the steps that another forum user can follow to reproduce the problem.
2929
3030- Please be courteous and thank those who help you whether or not you get a solution. Somebody is giving you their time and expertise for free. You may want to return to the forum again, so it pays to be friendly and courteous to those who help you or try to help you.
3131
3232- If a suggested solution works, please return to the forum and report your success (see share the outcome below). This is the least you can do in exchange for the help you have received. It is also likely to make you welcome in the forum the next time you go there for help.
3333
3434## Use code tags
3535
3636When asking for help it is particularly important to format your code so it is clearly shown as code. Most programmers are used to see code formated "as code" and resent (even if mildly) having to deal with it badly- or un-formated, which may naturally reflect both in their willingness to answer your question and the tone of their answers.
3737
3838The forum treats any code you paste (whether a big or small chunk) as normal text. Default text formatting will be proportionally spaced (not fixed-width) and indentation and alignment of successive lines will be unreliable, making the code hard to read. ![](/wiki-images/9/9d/Forum1.PNG)
3939
4040Also, parts of your pasted code might be considered as mark up by the forum engine, causing an undesirable look.
4141
4242A code snippet such as this:
4343
44-<figure>
45-<img src="forum2.PNG" title="forum2.PNG" />
46-<figcaption>forum2.PNG</figcaption>
47-</figure>
44+![](/wiki-images/6/6c/Forum2.PNG)
4845
4946...ends up looking like this:
5047
51-<figure>
52-<img src="forum3.PNG" title="forum3.PNG" />
53-<figcaption>forum3.PNG</figcaption>
54-</figure>
48+![](/wiki-images/e/e3/Forum3.PNG)
5549
5650As a result, instead of actually getting help, you might only get "use code tags!" responses. Using code tags is easy. All you need to do is add
5751
5852`[code=pascal]`
5953
6054at the start of your code and add
6155
6256`[/code]`
6357
6458at the end of your code.
6559
6660A shortcut for this is to click the \# (code) button when writing your thread text:
6761
68-<figure>
69-<img src="forum8.png" title="forum8.png" />
70-<figcaption>forum8.png</figcaption>
71-</figure>
62+![](/wiki-images/e/e5/Forum8.png)
7263
7364If you have already made a post without remembering to insert \[code=pascal\] and \[/code\] tags, you can "MODIFY" your post and add them later. Just like this:
7465
75-<figure>
76-<img src="forum4.PNG" title="forum4.PNG" />
77-<figcaption>forum4.PNG</figcaption>
78-</figure>
66+![](/wiki-images/f/f1/Forum4.PNG)
7967
80-<figure>
81-<img src="forum9.png" title="forum9.png" />
82-<figcaption>forum9.png</figcaption>
83-</figure>
68+![](/wiki-images/b/bc/Forum9.png)
8469
85-<figure>
86-<img src="forum6.PNG" title="forum6.PNG" />
87-<figcaption>forum6.PNG</figcaption>
88-</figure>
70+![](/wiki-images/c/c0/Forum6.PNG)
8971
9072Once the changes are made and you hit "Save", you should see a nice Code section appearing in your post. The code section shows your code using a fixed-width font. This is placed within a smaller box with a "Select" button that allows you to select just that code section quickly. Your code will not then be misinterpreted as forum markup. It will as will be displayed as the code it is.
9173
92-<figure>
93-<img src="forum7.PNG" title="forum7.PNG" />
94-<figcaption>forum7.PNG</figcaption>
95-</figure>
74+![](/wiki-images/0/01/Forum7.PNG)
9675
9776Additionally, you can HIGHLIGHT particular lines of code by using an opening code tag like **\[code=pascal,2,4\]** which will highlight lines 2 and 4 as below:
9877
99-<figure>
100-<img src="forum10.png" title="forum10.png" />
101-<figcaption>forum10.png</figcaption>
102-</figure>
78+![](/wiki-images/f/f5/Forum10.png)
10379
10480Most importantly, taking the trouble to use code tags is one way to support on-line politeness.
10581
10682Note that the code tag supports more than just Pascal, in case you need to add snippets in other languages (C, C++, Java, Assembler, etc).
10783
10884You can find a list of supported languages in [this page at MediaWiki](https://www.mediawiki.org/wiki/Extension:SyntaxHighlight#Supported_languages). You'll have to scroll down a little and expand the list of "Previously supported lexers" (with GeSHi), which is what the forum software supports.
10985
11086## Sharing large pieces of code
11187
11288While short snippets of code can be inserted on your post as explained above (by using the \[code\] tag), sometimes you'll need to share more of your code, up to a complete example project, if you want to get meaningful help.
11389
11490As is easy to see, dumping all this code into a single post is a bad idea and you might run afoul of a post text limits (around 20K characters). What you should do instead is zip it and add it to your post as an attachment.
11591
11692### What to zip
11793
11894Don't simply zip all the files in your project's directory: If you do that you'll add lots of files, some of them very large, which add nothing to the comprehension of your code.
11995
12096The rule of thumb is: add the source files and, if any, essential data files.
12197
12298"Source" files for a normal project are: *.LPI, *.LPR, *.LFM, *.PAS (or *.PP) and *.INC; i.e. what we can term "real" source, the project info file and the forms. A simple way to prepare these files is to use "Publish project", in the "Project" menu of Lazarus; if you check the option "Compress" in the "Publish project" dialog you'll end up with a nice .zip file, ideal to attach to your post.
12399
124100Add data files only if they are essential either for the question asked at the forum or to be able to run your program at all. Most times these files will be database files, test documents in some specific format, configuration files of some kind or icons/graphics loaded at run-time by your program. Try to make them as small as possible consistent with the use for which they are intended.
125101
126102Don't try to add a multi-megabyte database, because the forum limits attachments to 250K. If a huge file is really needed, use a "locker" service like Google Drive or similar.
127103
128104## Share the Outcome
129105
130106The Forum is a good place to get help with Object Pascal and Lazarus. If you run into trouble and cannot figure out a solution by yourself even after Googling for answers to similar problems, the forum is the best place to ask.
131107
132108You will usually find there are many experienced people reading the Forum who will help you.
133109
134110But, as soon as you get an answer which you find resolves your problem, please let everyone else know that the proposed solution worked for you.
135111
136112It's very easy to get overexcited, once things start working again, and you might omit to tell everyone else. Please DON'T forget, because we'd like to know, and anyone else who later runs into the same issue, would also like to know that the solution proposed is a good one.
137113
138114The same applies, if you've created a thread, where a working solution has not yet been given and you find a solution (by yourself, or somewhere else). Please DO NOT LEAVE the thread you've started orphaned. Just return to the thread and briefly indicate the solution you found.
139115
140116## Mark a thread as resolved
141117
142118The easiest way to indicate that your problem is solved is to add "\[SOLVED\]" to the thread subject. Provided you're the original thread's author it is easy to do.
143119
144120- Go to the very first post of the thread
145121- Modify the first message
146122- You should see the "Subject" of the message. The subject defines the subject of the thread.
147123- Simply add \[SOLVED\] to the beginning of the subject (leave the rest of the subject as it is).
148124- Hit Save.
149125
150126This procedure can also be used to fix typos in the thread subject if you later notice it has spelling mistakes.
151127
152128---
153129*From the Free Pascal wiki, page "Forum", as it stood on 2022-07-24 after a change by Bart, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history