Mikroelektronika MIKROE-442 Datenbogen
![Mikroelektronika](https://files.manualsbrain.com/attachments/e0529b3b58069a916ad7bb89f7e9f5f0eda73421/common/fit/150/50/1b07b99aa3112e022a916b06db07f1f4f211e91d41878452d87c7638b1bf/brand_logo.gif)
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
659
isupper
Prototype
sub function isupper(dim character as byte) as word
Description Function returns 0xFF if the
character
is an uppercase letter (A-Z), otherwise returns zero.
Example
res = isupper(“A”) ‘ returns 0xFF
res = isupper(“a”) ‘ returns 0
isxdigit
Prototype
sub function isxdigit(dim character as byte) as word/p>
Description Function returns 0xFF if the
character
is a hex digit (0-9, A-F, a-f), otherwise returns zero.
Example
res = isxdigit(“A”) ‘ returns 0xFF
res = isxdigit(“P”) ‘ returns 0
toupper
Prototype
sub function toupper(dim character as byte) as byte
Description If the
character
is a lowercase letter (a-z), the function returns an uppercase letter. Otherwise, the
function returns an unchanged input parameter.
Example
res = toupper(“a”) ‘ returns A
res = toupper(“B”) ‘ returns B
tolower
Prototype
sub function tolower(dim character as byte) as byte
Description If the
character
is an uppercase letter (A-Z), function returns a lowercase letter. Otherwise, function
returns an unchanged input parameter.
Example
res = tolower(“A”) ‘ returns a
res = tolower(“b”) ‘ returns b