Talk:Compiler Error Messages

From NWN Lexicon
Jump to: navigation, search

Article Cleanup

I'm trying to clean up this article so it displays nicely on the wiki. I'm having to work on it one section at a time and it's a long article, so if anyone wants to help, be my guest.

The format for each section is as follows:

====Section Title====
{| style="width: 100%; min-width: 1000px;"
! style="width: 45%; vertical-align: top; padding-right: 10px;" | Error Message Meaning
! style="width: 55%; vertical-align: top; padding-left: 10px;" | Example
|-
| style="vertical-align: top; padding-right: 10px; border-right: solid 1px #ccc;" |
<description goes here, on its own line>
| style="vertical-align: top; padding-left: 10px;" |
<example goes here, on its own line>
|}

Make sure that any paragraph breaks are represented as two carriage returns, not as <br /><br />. Also, do not convert the script examples to <nwscript> tags, as this will screw up the color formatting that helps pinpoint errors.

Each section should look something like this:

Error Message Meaning Example

This is the description.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.

// Incorrect: string sMsg = "The number of months in a year is " + 12;

This is a script example.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

// Correct: string sMsg = "The number of months in a year is " + IntToString(12);

Any assistance is much appreciated! - Squatting Monk (talk) 07:02, 14 June 2013 (UTC)

Article cleanup has been completed! - Squatting Monk (talk) 22:32, 5 October 2014 (UTC)