![]() |
|
|
#1 |
|
Join Date: Oct. 3rd, 2001
Location: Frankfurt/Main, Germany
Posts: 3,829
|
In this forum, people frequently post code snippets illustrating their problems or their solutions to other people's problems.
Directly pasting code into a posting renders it virtually unreadable though because the forum software (or actually, your web browser) swallows all leading tabs and spaces and thus removes all traces of the code's original indentation. To prevent that from happening, enclose any code you post in [code] ... [/code] tags like this: Code:
[code]
function MyFunction()
{
local NicoleKidman thisActor;
foreach AllActors(Class'NicoleKidman', thisActor)
thisActor.GiveAcademyAward();
}
[/code]
When you post code, keep the lines short. Code lines aren't wrapped to the browser's window width, so excessively long lines will stretch the entire thread and require readers to scroll horizontally in order to read even normal text between the code. So, please manually wrap very long lines if your code contains any. Also, only post the relevant parts of your code. Nobody likes digging through pages and pages of your code just to find the place where something "doesn't work." When you post here you should already know at which place, roughly speaking, your problem lies, so please only post as much code as is needed to understand your problem. |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|