Raised This Month: $ Target: $400
 0% 

How can I do "string union"?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
stupok
Veteran Member
Join Date: Feb 2006
Old 07-03-2007 , 14:40   Re: How can I do "string union"?
Reply With Quote #1

I think this is what he means:

Code:
new flags1 = read_flags("ade")
new flags2 = read_flags("abdie")
	
flags1 |= flags2
	
set_user_flags(id, flags1)
stupok is offline
phreakbg
New Member
Join Date: Jun 2007
Old 07-03-2007 , 16:06   Re: How can I do "string union"?
Reply With Quote #2

Quote:
Originally Posted by stupok69 View Post
I think this is what he means:

Code:
new flags1 = read_flags("ade")
new flags2 = read_flags("abdie")
 
flags1 |= flags2
 
set_user_flags(id, flags1)
Well, exactly. Am I stupid or what ?!
10x very much
phreakbg is offline
Reply



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 21:34.


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