help for c-type library

Beta Testing discussion on mikroBasic PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
peterverkaik
Posts: 174
Joined: 31 Aug 2009 22:44

help for c-type library

#1 Post by peterverkaik » 22 Dec 2009 10:09

All is??? functions return word, except isalnum which returns byte.
Assuming word is the return type, why do the functions return 0xFF
for true and not 0xFFFF which makes more sense.

regards peter

User avatar
nikola.kostic
mikroElektronika team
Posts: 433
Joined: 11 Aug 2009 12:12

#2 Post by nikola.kostic » 23 Dec 2009 16:05

Word is used as return type because internal registers and data space memory for dsPIC are organized as 16-bits wide. I am not sure why do mentioned functions return 0xFF for true and not 0xFFFF, however, I informed our developers about this and they will look into it and consider your suggestion. Thank you for the note.

Post Reply

Return to “mikroBasic PRO for dsPIC30/33 and PIC24 Beta Testing”