On Sep 18, 2006, at 11:03 AM, Mars Saxman wrote:

Basically I want to add an item with a value of -1 whereas all of the other values are positive. Since I am already storing existing values in a database, how do I assure that the existing values do not change?

If you don't specify the value of an enumeration constant, it will adopt the value of the previous item, plus one. If you don't specify the value of the first constant in the enumeration, it will be equal to zero.

OK, thanks.

Just to verify... if I add a item with a value of -1 at the *end* of the list, the other values will not change?

Also, is REALbasic smart enough to only link one value per constant? (i.e. not starting over again at 0 after an item with a value of -1)

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to