Displaying array as ascii

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Displaying array as ascii

跳至解决方案
1,336 次查看
Cdn_aye
Senior Contributor I

Under CW6.3 an array automatically displayed  as ascii if the type was char. Under the debugger for CW10.3 I can't find anyway to display anything as ascii. Is there a way to look at a string array as an ascii string? I have searched the posts but can't find anything, maybe my search terms are wrong.

 

Thanks

 

Robert

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
2 回复数
1,185 次查看
BlackNight
NXP Employee
NXP Employee
0 项奖励
回复
1,184 次查看
Cdn_aye
Senior Contributor I

Hi Erich

Brilliant...Part 2 was the answer. If I cast it to unsigned char * as you pointed out, it works as expected. I will try changing the type to unsigned char for the array in the code and see if I can avoid the extra step.

Thank you... this was driving me crazy looking up values in ascii charts!!

Robert

0 项奖励
回复