Ok. So I suppose the best solution is to just make .MEM saved vars 1-10 chars long?
Also, sorry about the vague use of "crash". I'll edit my posts prior to posting to avoid that in the future. The good news is, I've never had Harbour actually crash yet! On Wed, Feb 3, 2010 at 2:05 PM, Viktor Szakáts <harbour...@syenar.hu> wrote: > 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 > -- smu johnson <smujohn...@gmail.com>
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour