Normally for consistency, enumerations have the same scope rules as other
identifiers. You can make them global or local to a function, class, or
namespace if that's what the language allows for other types and variables.

On Mon, Oct 6, 2014 at 11:15 PM, Piaget Modeler via AGI <[email protected]>
wrote:

> Considering enumerations in a programming language.
>
> Are they typically global or attached to a package/namespace ?
>
> Where should they be attached?
>
> Kindly advise.
>
> ~PM
>    *AGI* | Archives <https://www.listbox.com/member/archive/303/=now>
> <https://www.listbox.com/member/archive/rss/303/3701026-786a0853> | Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <http://www.listbox.com>
>



-- 
-- Matt Mahoney, [email protected]



-------------------------------------------
AGI
Archives: https://www.listbox.com/member/archive/303/=now
RSS Feed: https://www.listbox.com/member/archive/rss/303/21088071-f452e424
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21088071&id_secret=21088071-58d57657
Powered by Listbox: http://www.listbox.com

Reply via email to