Raised This Month: $ Target: $400
 0% 

Error: Must be assigned to an array?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-26-2009 , 15:50   Re: Error: Must be assigned to an array?
Reply With Quote #1

Quote:
Originally Posted by ConnorMcLeod View Post
PHP Code:
enum DataField {
    
Did,
    
Dname[32],
    
Dauthid[32],
    
Dip[22],
    
Dalive,
    
CsTeams:Dteam// not sure what you want here
    
etc...
}

new 
data[33][DataField];


    
get_user_name(iddata[id][Dname], 31
Aren't enumerated variables considered as constants?
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-26-2009 , 15:56   Re: Error: Must be assigned to an array?
Reply With Quote #2

Quote:
Originally Posted by Dores View Post
Aren't enumerated variables considered as constants?
Something like this.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



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 01:41.


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