Raised This Month: $ Target: $400
 0% 

enum TASK problems


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-29-2013 , 12:27   Re: enum TASK problems
Reply With Quote #3

PHP Code:
new const TASKS_INDEXES[101] = {0,1,...} 
Then TASKS_INDEXES if filled from 0 to 100.


Quote:
Originally Posted by guipatinador View Post
PHP Code:
enum ( += 100 ) {
    
TASK_1 100,
    
TASK_2,
    
TASK_3

This is wrong and will only store 3 tasks indexes, 100,200 and 300.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 01-29-2013 at 12:28.
ConnorMcLeod 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 20:38.


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