Talk:NilObjectException

From REALbasicWiki

Jump to: navigation, search

Something weird going on with the line endings. Perhaps related to the list issue encountered on the RBScript entry?

At any rate, the code sample doesn't wrap even though the source for the page shows it wrapped; I would have fixed it, but the source looks right, so there's something else going on.

Also, would it make sense to indicate why the 'w.Show' line will generate a NOE? It's possible a reader would not be familiar with the requirement to 'new' the window variable.


I've fixed the code sample -- to get code formatting, one indents each line one space.

As for the content -- certainly more and better examples would be helpful. My thinking was to provide an executable snippet that would generate a NilObjectException. -- Charles

Personal tools
related