PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Parameter Strings
Parameter Strings
Débuté par mdb.jack, 25 avr. 2021 17:28 - 2 réponses
Posté le 25 avril 2021 - 17:28
I am using WinDev v 25.
I have a string input field and want to pass that string to a procedure.
When looking at the string parameter, it shows as a HEX ASCII code. For example "197LD33" is passing as "31 39 38 4C 44 33 33"
The procedures incorrectly uses the HEX values rather than the "string" value.
I need to process "197LD33", not "31 39 38 4C 44 33 33".
Any ideas?
Posté le 26 avril 2021 - 14:30
When looking at the string parameter, it shows as a HEX ASCII code...


HOW are ytou looking at the string value? If it is in the debugger, just click on the HEX toggle button on the right and you will see the normal value...

As it is, NOTHING in windev is going to transform the content of any of your variable by itself...

So, if it's not the debugger display mode, then you are doing something strange in the code you a re not showing us.
Posté le 28 avril 2021 - 15:51
As you described, after playing around with it for a bit of time, I found that it's always passed as a HEX. If i "info'd" the entry, it shows the text I thought was going through the parameter.

In developing a procedure...that wasn't working as I wanted, I noticed the HEX issue and initially thought that was the problem.