Raised This Month: $ Target: $400
 0% 

Duda switch's


  
 
 
Thread Tools Display Modes
Author Message
Nico1
Senior Member
Join Date: Oct 2010
Old 12-22-2011 , 15:04   Re: Duda switch's
#1

seria algo asi
PHP Code:
new num 100
switch(num)
{
        case 
100..300client_print(0,print_center,"1"// aca va desde el 100 hasta el 300

:B
__________________

Last edited by Nico1; 12-22-2011 at 15:06.
Nico1 is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 12-22-2011 , 19:19   Re: Duda switch's
#2

Quote:
Originally Posted by Nico1 View Post
seria algo asi
PHP Code:
 new num 100 switch(num) {      case 100..300client_print(0,print_center,"1"// aca va desde el 100 hasta el 300 } 
:B
Esto toma como válidos los valores entre 100 y 300. Lo que necesitaba era esto:
Quote:
Originally Posted by Stereo View Post
PHP Code:
switch(hola) {       case 123hola() } 
Gracias Stereo Y gracias lucas por la aclaracion también! Saludos.
__________________

Last edited by Neeeeeeeeeel.-; 12-22-2011 at 19:22.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
 



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 06:28.


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