Sorry for posting here... but as it is a specific DF20 bug I figured to create a new topic here.
Move it if you like.
I am playing a bit with WebQuery from Mike and noticed something weird.
In the field list the "Id" column ended up as "I".. so I tracked it down to a difference of behavior in DF20
Here's the code:
Code:
Use Windows.pkg
Function UpperChar String sData Integer iChar Returns String
Function_Return (Overstrike(Uppercase(Mid(sData, 1, iChar)), sData, iChar))
End_Function
Procedure Test
String sUpper
Get UpperChar "id" 1 to sUpper
Showln sUpper
End_Procedure
Send Test
Inkey windowindex
On DF20 this produces "I" on DF19.1 the result is "Id".
As it turns out, this is overstrike misbehaving.
On DF20 the output of the following is:
Code:
Use Windows.pkg
Procedure Test
Showln (Overstrike("X","xy",1))
Showln (Overstrike("X","xyz",1))
End_Procedure
Send Test
Inkey windowindex
Of course that should have been:
--
Wil