Re: New switch/case idea

new topic     » goto parent     » topic index » view thread      » older message » newer message
irv said...
	case RHS_SUBS then  
	case RHS_SUBS_CHECK then  
	case RHS_SUBS_I then  
		opRHS_SUBS()  
		break 
    	case RHS_SUBS  
        or RHS_SUBS_CHECK   
	or RHS_SUBS_I then  
		opRHS_SUBS()  
		break 

So, the two above are identical?

Yes, they are.

Here is another (this time hypothetical) example:

	case RHS_SUBS_CHECK then  
		SUBS_CHECK() 
	case RHS_SUBS_I then  
		i = get_SUBS_I() 
	case RHS_SUBS then  
		opRHS_SUBS()  
		break 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu