After many explorations and discussions (my thanks particularly to Eric
Blasenheim, MI Corp) I have been able to understand why a call to the
format$() function after a 'set format number "local" ' will make MI crash.

It all depends if the thousands separator is specified in the format$()
pattern (that would be the ,# part of the pattern that can be omitted if no
separator is wanted); if it is present, then the grouping pattern in the
Windows regional parameters should be selected accordingly. There is still a
question mark, Eric telling me that the grouping pattern should be
123456789, I telling him that it should be 123 456 789.

Whatever be the right pattern to choose (your votes will be tallied !!!), we
have now an explanation for the crashes in these conditions (set
format...local + format$() with thousand separators). If that happens to
you, you should know where to look.

Incidentally, that "situation" seems to have always existed in MI ..... a
division by zero !!!

Jacques Paris
e-mail  [EMAIL PROTECTED]
MapBasic-MapInfo support  http://www.paris-pc-gis.com




---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 16005

Reply via email to