Raised This Month: $ Target: $400
 0% 

enum


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
schnitzelmaker
Senior Member
Join Date: Apr 2006
Location: HERE
Old 01-27-2007 , 14:10   Re: enum
Reply With Quote #4

Yes and No,enums are global and the Compiler dont know which member you mean.
If you have 2 enums with same member name you need a specific ident to the enum you want.

Here examples what i mean
Code:
e1[testA:C] = 10 e2[testB:C] = 20 console_print(0,"test:%d,%d",e1[testA:C],e2[testB:C])
__________________

Last edited by schnitzelmaker; 01-27-2007 at 14:25.
schnitzelmaker is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode