Resource Strings

G

Guest

What is the most common method of naming the Strings in the Resource Editor.
By default they are named Stringx where x is a incremental number. Is it
recomended that these be changed or should they be kept? How does this name
relate to the ID in the RC String table?
 
D

Daniel Bass

Don't know what is deemed best practice, but I generally describe what the
string contains in an abbrevated format...
For example, "Please type in the answer to your secret question:" would be
called "SecretAnswer".

Something I also tend to do is prefix errors with "Err", simply so they are
grouped together in the string table so i can find them easier...

String43 doesn't mean anything, so definately move away from this naming
convention.
 
H

Herfried K. Wagner [MVP]

Daniel Bass said:
Don't know what is deemed best practice, but I generally describe what the
string contains in an abbrevated format...
For example, "Please type in the answer to your secret question:" would be
called "SecretAnswer".

I use descriptive names too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top