To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 920
919  |  921
Subject: 
Found the bug
Newsgroups: 
lugnet.cad
Date: 
Fri, 12 Feb 1999 23:08:45 GMT
Viewed: 
692 times
  
Hi,
I found a very subtle and sneaky bug in ldao.  This bug occurs only if in
the regional setting control panel applet the decimal separator is set to
something else than a dot '.' this occurs in certain countries like in
France where the decimal separator is a coma ','.  The problem is that some
functions used in VB to parse a string into a floating point number take
this parameter into account and others don't.  In fact the default type
casting done by VB will take this into account as well as the CSng CDbl
functions while the val function does not!  So this explains why I was the
only one who wasn't able to open the editor or modeler, what happened was
that when ldao tried to parse the string which contained the view setting it
could not do so.  I've e-mailed Steve with the corrected file.



Message has 1 Reply:
  Re: Found the bug
 
Ok.. mines set to a dot... and it didn't work, I've never changed any of those settings on my system... any other clues? (...) (26 years ago, 13-Feb-99, to lugnet.cad)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR