--- In [email protected], "dleidinger" <dleidin...@...> wrote: > > Hi Bruce, > > thanks for your answer. > > No quotes if you want the 0x to be processed properly. > > OK, so to convert an hexadecimal value (already stored in a variable without > 0x) into a decimal value i can do the following: > do("local l_dec_value = 0x" ++ l_hex_value) > > or is there a better way to do that ? > > Best regards
what are you hoping to accomplishment? Numbers are stored in binary when used and Powerpro does conversion automatically. If you set a variables to a hex number, in fact it is stored as the equivalent decimal number which should work fine in postmessage (since all numbers are binary when actually used and powerpro does this automatically) try local var = 0xfe12 win.debug(var) to see what I mean
