Hello Przem
Przemyslaw Czerpak-2 wrote:
>
> It's not like in C and never was. I do not understand why Ron is repeated
> that it tries to mimic C because it's not true.
> In C you cannot make:
>"A" == 65
>
Exactly. This is what I was trying to explain.
>But I suggest to rather clean the c
On Tue, 14 Apr 2009, Pritpal Bedi wrote:
Hi,
> NOTE: In xHarbour ONE character string is treated as a number
> so you were able to compare as above. I know that in C it works like
> it is implemented in xHarbour but we are accustomed to the language
> CLIPPER.
It's not like in C and never was.
Exactly, this is one of those weird features (hidden extension) of xhb. I
can only suggest to clean such code to "Asc( c ) == 13". This code
works with all existing xbase dialects, has the same speed, easier to
type, easier to read, so you will only win. The real task is to find such
lines in code.
Hi Pritpal Bedi,
Ok, thank you for explanation. I thought that was compatible xharbour with
Harbour and Harbour with xHarbour.
Solved the problem by modifying the function Open_Word, leaving as below:
*
Function Open_word( cArquivo )
*
local
Hi
sygecom wrote:
>
> First of sorry for the post, but I'm moving to Harbour, I'm full of
> questions to resolve.
> Below is another example that compiling and running without problems in
> xHarbour, but when you try to run with harbor it generates an error on the
> line 'if asc (cCaractere) ==
Hello All,
First of sorry for the post, but I'm moving to Harbour, I'm full of
questions to resolve.
Below is another example that compiling and running without problems in
xHarbour, but when you try to run with harbor it generates an error on the
line 'if asc (cCaractere) == chr (13)'
*