Pinned topic showing hexidecimal values in debug
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Is there a way to show the actual hexidecimal value of a variable (an API variable, specifically) while in debug?
Updated on 2013-02-06T21:16:31Z at 2013-02-06T21:16:31Z by SystemAdmin
barbara_morris 120000DX5W503 Posts
Re: showing hexidecimal values in debug2013-02-06T20:55:57ZThis is the accepted answer. This is the accepted answer.You can add :X to the end of the variable.
===> eval field:x ===> eval field:x 10
You have to be a bit careful with varying length fields. Ordinary EVAL shows you the data, but EVAL with :X, it also shows you the length part.
1 D varfield s 5a varying inz( 'abc') 2 C return
> EVAL varfield VARFIELD = 'abc ' > EVAL varfield:x 00000 00038182 830000.. ........ ........ - ..abc.