Raised This Month: $ Target: $400
 0% 

empty statement: Question about SPACE char


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 01-04-2016 , 11:24   empty statement: Question about SPACE char
Reply With Quote #1

Quote:
Code:
sA_TempPrimary_WeapNames[ l + 1 ] != ' '
error 036: empty statement
Quote:
Code:
sArr1[ l ] = sArr2[ l + 1 ] & ~( 1 << 5 );
This method for space is not applicable :C

Last edited by ZASTRELIS; 01-04-2016 at 11:41. Reason: empty statement
ZASTRELIS is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 01-04-2016 , 11:30   Re: empty statement: Question about SPACE char
Reply With Quote #2

That code seems alright to me. You should show us more code than that little snippet.
klippy is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 01-04-2016 , 11:38   Re: empty statement: Question about SPACE char
Reply With Quote #3

Code:
sArr1[ l ] = sArr2[ l + 1 ] & ~( 1 << 5 );
This method for space is not applicable :C

Last edited by ZASTRELIS; 01-04-2016 at 11:39.
ZASTRELIS is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 01-04-2016 , 11:41   Re: empty statement: Question about SPACE char
Reply With Quote #4

I have no idea what you are talking about.
klippy is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 01-04-2016 , 11:42   Re: empty statement: Question about SPACE char
Reply With Quote #5

Quote:
Originally Posted by KliPPy View Post
I have no idea what you are talking about. :?:
WTF. Okay. Leave this topic :D

Last edited by ZASTRELIS; 01-04-2016 at 11:42.
ZASTRELIS is offline
Godis
Senior Member
Join Date: Jan 2014
Old 01-04-2016 , 11:52   Re: empty statement: Question about SPACE char
Reply With Quote #6

You really should show us more than this.

I'm not quite sure i understand, are you trying to check a specific position in your char array (string, kinda;) for a blank space? I so, use IsCharAlpha instead.

Last edited by Godis; 01-04-2016 at 11:57.
Godis is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 01-04-2016 , 12:09   Re: empty statement: Question about SPACE char
Reply With Quote #7

Quote:
Originally Posted by Godis View Post
You really should show us more than this.

I'm not quite sure i understand, are you trying to check a specific position in your char array (string, kinda;) for a blank space? I so, use IsCharAlpha instead.
hmm. IsAlpha... Thanks. I found in string include nice method IsCharSpace DDD

Last edited by ZASTRELIS; 01-04-2016 at 12:10.
ZASTRELIS 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 05:08.


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