HI dev7060,
Thanks for all your help here!
I will try 0ABC6 once I have a chance.
CH
User Profile
Collapse
-
Hi dev7060,
I meant do I need to make any changes after set the Hex.substr to(0.5) to those lines below:
var val = 0;
val += hex_array.index Of(sFullHex.sub str(0,1)) * 4096;
val += hex_array.index Of(sFullHex.sub str(1,1)) * 256;
val += hex_array.index Of(sFullHex.sub str(2,1)) * 16;
val += hex_array.index Of(sFullHex.sub str(3,1))
return val;
}Leave a comment:
-
Hi dev7060,
If I set the length of Hex to less than 6.
What I need to do all the lines below that:
function HexToWord( Hex )
{
var sFullHex = "";
if( Hex.length < 6 )
sFullHex = "0000".substr(0 , 4 - Hex.length) + Hex;
else
sFullHex = Hex.substr(0,4) ;
var val = 0;
val += hex_array.index Of(sFullHex.sub str(0,1)) * 4096;...Leave a comment:
-
what is this mean: if( Hex.length < 5 )
Hi There, I need help to understand the script here what's meant?
I'm not a programmer but ran into machine issue with machine not recognized a 1D 128 barcode with a space in there such as "ABC 6"
it looked like that the script was cut off the 6 due to the length limits to 4 characters. Thanks
function HexToWord( Hex )
{
var sFullHex = "";
if( Hex.length < 5 )
sFullHex...
No activity results to display
Show More
Leave a comment: