[INC] ctype.inc -
Simon - 02.12.2008
About:
ctype.inc is a PAWN version of
ctype.h for C language. It includes some basic (but hopefully useful) functions to check information of a character passed through the functions.
Function List:
isalnum(character)Checks if the character is an alphanumeric character.
isalpha(character)Checks if the character is an alphabetical character.
iscntrl(character)Checks if the character is a control / escape code character such as '\n'.
isdigit(character)Checks if the character is a number digit.
isgraph(character)Checks if the character is able to represented graphically.
islower(character)Checks if the character is lowercase.
isprint(character)Checks if the character is a printable character.
ispunct(character)Checks if the character is a punctuation character.
isspace(character)Checks if character is a white space character.
isupper(character)Checks if character is uppercase.
isxdigit(character)Checks if character is a valid hexidecimal character.
cprintinf(character)Prints info of the character to the server window. This function is only included if you have printf defined. printf function is in a_samp.inc.
Notes:
The functions toupper(character) and tolower(character) were not included due to them being able to be found in the core.inc include.
Download:
Re: [INC] ctype.inc -
Mikep - 02.12.2008
OOoh im using this, thankyou!
Brilliant release Simon. once again.
Re: [INC] ctype.inc -
luigifan9 - 17.05.2010

i know this is old but it looks useful, thanks.
Re: [INC] ctype.inc -
ViruZZzZ_ChiLLL - 17.05.2010
Quote:
Originally Posted by luigifan9
 i know this is old but it looks useful, thanks.
|
Dude, its like a 2 years old topic

If you have anything to say about this
topic, say/PM it to Simon
Re: [INC] ctype.inc -
luigifan9 - 17.05.2010
Quote:
Originally Posted by ViruZZzZ_ChiLLL
Quote:
Originally Posted by luigifan9
 i know this is old but it looks useful, thanks.
|
Dude, its like a 2 years old topic 
If you have anything to say about this
topic, say/PM it to Simon 
|
I just thought others could use this and bumping would help them be aware of it.
Re: [INC] ctype.inc -
ViruZZzZ_ChiLLL - 18.05.2010
Quote:
Originally Posted by luigifan9
Quote:
Originally Posted by ViruZZzZ_ChiLLL
Quote:
Originally Posted by luigifan9
 i know this is old but it looks useful, thanks.
|
Dude, its like a 2 years old topic 
If you have anything to say about this
topic, say/PM it to Simon 
|
I just thought others could use this and bumping would help them be aware of it.
|
You have a point there, but people should just search for it when they need it

like the way you found this topic :P It's because
you need it.
Re: [INC] ctype.inc -
luigifan9 - 18.05.2010
Quote:
You have a point there, but people should just search for it when they need it 
like the way you found this topic :P It's because you need it.
|
Some people seem to not be capable of using the search button
Re: [INC] ctype.inc -
Haji - 18.05.2010
Good, job.
Re: [INC] ctype.inc -
luigifan9 - 18.05.2010
Quote:
Originally Posted by [ĦŁ₣
ЉǾǖŦĦЗŁΛẄ ]
This is a good script, thanks for bumping it :P
|
haha exaclty why i did :P