Displaying array as ascii

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Displaying array as ascii

ソリューションへジャンプ
1,341件の閲覧回数
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,190件の閲覧回数
BlackNight
NXP Employee
NXP Employee
0 件の賞賛
返信
1,189件の閲覧回数
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 件の賞賛
返信