Jump to content

Code Posting Guidelines


CADTutor

Recommended Posts

Code posting guidelines

When you are posting AutoLISP or VBA code in these forums, there are some simple guidellines you should observe in order to make life easier for you and for others.

 

Always place routines or code snippets between code tags. This makes them easier to read within posts by making them distinct from other text. It helps those who may want to copy and paste the code. It also helps to save space because code blocks get a scroll bar beyond a certain number of lines.

 

[ATTACH]101[/ATTACH]

 

To place your code between code tags, type the code first, click and drag to highlight the code and then click the code button on the editor toolbar. That's the one with the "#" on it*. When you submit the post, the code will be displayed as shown below.

 

[ATTACH]97[/ATTACH]

 

Please ensure that you have the right to publish code on a public forum. In most cases, the code you are publishing will be your own and it will be assumed that if no attribution is given, you are the author. However, if you are not the author, you must make this clear and where possible, give credit to the author. Any routines published here must have their header intact, including any title, instructions, author contact details, date and copyright information. If at all possible, please make sure that you have the the authors permission to publish their work.

 

[ATTACH]100[/ATTACH]

 

The code shown above has been published with its header intact. It is important to include this information even if the author intended to make the code freely available.

 

* If you do not see a "#" button on your toolbar, see this article.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...