Raised This Month: $ Target: $400
 0% 

increase understanding.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
djmd378
Senior Member
Join Date: Sep 2004
Old 08-27-2007 , 19:27   Re: increase understanding.
Reply With Quote #2

PHP Code:
public repeating_task()
{
    
// Lets say Variable is currently at 3
    
if(variable 3variable 0;
    switch(
variable++)// It'll come here and then it'll be 3+1 so then it'll be 4
    
{
        case 
0// something... skips
        
case 1// something... skips
        
case 2// something... skips
        
case 3// something... skips
        
case 4// It is 4 because it won't be set back to 0 because it's being added right after the check to see if its greater than 3
    
}

__________________
djmd378 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 16:11.


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