Raised This Month: $ Target: $400
 0% 

Get "or ||" in #elseif defined something "or" something.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 04-10-2009 , 09:10   Get "or ||" in #elseif defined something "or" something.
Reply With Quote #1

So how to get "||" in #if defined?
Example:
PHP Code:
#if defined XX || XX2 
Or maybe this?
PHP Code:
#if defined XX | XX2 
Which of this is true?

Last edited by xbatista; 04-10-2009 at 10:02.
xbatista is offline
Send a message via Skype™ to xbatista
 



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 02:18.


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