Hi,

> Variables in Harbour can be over 10 characters. In clipper these can be
> written as 10+ characters but only the 1st 10 are used at compile time.
> When variables are saved to a .mem file only 10 characters are saved,
> however when they are restored they are 10 characters, but the code
> that references them can be 10+ characters, which causes undefined
> variables. I had 60 variables in that situation and had to make several
> hundred variable name changes to ensure everything is not more than 10 chars.
> As well, an unknown number of other variable references are waiting to explode
> in situations such as:
> 
>   Local MyVariable:=10
>   ? MyVariableValue // will crash in Harbour but not in Clipper

It will RTE, not crash. It's not the same, when we read 
'crash', it suggests the it's a Harbour system crash.

This is a known problem, and it's a limitation of the 
.mem file format. It's not possible to solve it without 
breaking CA-Cl*pper compatibility.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to