[AccessD] Enumerated constants

DWUTKA at marlow.com DWUTKA at marlow.com
Tue Jan 13 12:03:31 CST 2004


No, direct from the MSDN...

constantexpression Optional. Value of the element (evaluates to a Long). If
no constantexpression is specified, the value assigned is either zero (if it
is the first membername), or 1 greater than the value of the immediately
preceding membername. 

Drew

-----Original Message-----
From: John W. Colby [mailto:jwcolby at colbyconsulting.com]
Sent: Tuesday, January 13, 2004 8:23 AM
To: AccessD
Subject: [AccessD] Enumerated constants


Can enumerated constant VALUES be strings?

public enum numbers
	one = "one"
end enum

Etc? 

I can't seem to get this to work.

John W. Colby 
www.ColbyConsulting.com

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


More information about the AccessD mailing list