Raised This Month: $ Target: $400
 0% 

Feedback request


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
kristi
Senior Member
Join Date: Nov 2016
Old 07-04-2018 , 20:22   Re: Feedback request
Reply With Quote #2

Quote:
Originally Posted by hts View Post
same syntax as in C++:
Code:
case 1:
case 2:
case 3:
  return same_value_for_these;
would probably work for Pawn too. Am I correct?
Nope. In Pawn we do it like this:
PHP Code:
case 123:
{
    
// code

or
PHP Code:
case 123: return same_value_for_these
kristi is offline
Send a message via Skype™ to kristi
 


Thread Tools
Display Modes

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 09:55.


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