Can I define a string like this?
#3

No. To compare strings you have to use strcmp; it doesn't act like integer comparisons.

EDIT: However, you COULD make it so the "gender" corresponds with a number defined in your script. So 1 = male and 2 = female.
Reply


Messages In This Thread
Can I define a string like this? - by Stefand - 09.05.2013, 20:27
Respuesta: Can I define a string like this? - by LoLeRo - 09.05.2013, 20:33
Re: Can I define a string like this? - by Scenario - 09.05.2013, 20:33
AW: Can I define a string like this? - by BigETI - 09.05.2013, 20:38
Re: Can I define a string like this? - by IceCube! - 09.05.2013, 20:44
Re: Can I define a string like this? - by Vince - 09.05.2013, 20:54
Re: Can I define a string like this? - by Stefand - 09.05.2013, 21:25
Respuesta: Can I define a string like this? - by LoLeRo - 09.05.2013, 21:28
Re: Can I define a string like this? - by Scenario - 09.05.2013, 21:29
Re: Can I define a string like this? - by Stefand - 09.05.2013, 21:52

Forum Jump:


Users browsing this thread: 3 Guest(s)