Alaska Software Inc. - DOS vs WIN
Username: Password:
AuthorTopic: DOS vs WIN
JorgeDOS vs WIN
on Thu, 10 Jul 2008 13:11:58 -0300
Hello to all
My problem is the form that has windows of showing the special caracteles> 
to 127 and that I have coexisting the same application so much in clipper 
like in xbase

I have a base where a field loads with a string converted with the algorithm 
showed down below, in addition this field it is index-linked

When I must do a search on this field, I convert the string to searching 
with this function,

windows it me changes the characters espciales (> 128) and DOS not
There is some way of making compatible this disadvantage?

Thanks to all

     For i :=1 To B
        A1 :=Asc( A[i] )
        If ( i % 4 = 1 )    ; A1 +=42
        ElseIf ( i % 4 = 2 ); A1 +=20
        ElseIf ( i % 4 = 3 ); A1 +=34
        Else                ; A1 +=27
        EndIF
        RET +=Chr( A1 )
     Next i