wila
29-Jul-2021, 06:30 PM
Hi,
Me again, figured to try another test...
Use Windows.pkg
Procedure Test
String sValue
Integer iPos
Integer iCommaPos
Move "0,1,00,1,52,212,-11,12,-15,false2,-15,false2,-15,false2,-14,Id: 2,-1" to sValue
Move 11 to iPos
Move (RightPos(",",sValue,iPos,10)) to iCommaPos
Showln iCommaPos
End_Procedure
Send Test
Inkey WindowIndex
output on DF19.1
20
output on DF20.0
0
Maybe not that surprising as pos already has a problem, but reporting it anyways as to make sure this gets looked at as well.
--
Wil
Me again, figured to try another test...
Use Windows.pkg
Procedure Test
String sValue
Integer iPos
Integer iCommaPos
Move "0,1,00,1,52,212,-11,12,-15,false2,-15,false2,-15,false2,-14,Id: 2,-1" to sValue
Move 11 to iPos
Move (RightPos(",",sValue,iPos,10)) to iCommaPos
Showln iCommaPos
End_Procedure
Send Test
Inkey WindowIndex
output on DF19.1
20
output on DF20.0
0
Maybe not that surprising as pos already has a problem, but reporting it anyways as to make sure this gets looked at as well.
--
Wil