yes the error occurs with this line: if lnentrynum < 1 because, as you say, lnentrynum is a 'logical' variable initialized to .F. by the 'Local' statement. By putting lnentrynum = 1 above this statement, the error was eliminated. Still, it is strange that the error does not appear while running the program in development mode.
----- Original Message ----- From: "Sietse Wijnker" <[EMAIL PROTECTED]> To: <profox@leafe.com> Sent: Sunday, July 23, 2006 12:27 AM Subject: RE: VFP9 Errors don't show in development mode Hi KAM, All variables declared in a LOCAL statement are defaulted to .F., which has always been so. The problem you're seeing occur has to do with the lOptInFieldObject.cSignatp property which suddenly gave unexpected results, probably due to a code change in that area. I agree with Bill, The code you've shown can be much more defensive. Expect the worst! f.i. are you always sure this proc/method will always be called with a toObject parameter that's indeed an object with the properties you expect? Writing this, I realise that you probably ment that you tested this functionality in the IDE and didn't get the error, wile when running the compiled exe you did that didn't occur in VFP8-? Maybe you have the code that's filling the cSignatp property in a conditional block which is run when VERSION() (or even VERSION()) or _VFP.StartMode has a specific value? Regards, Sietse Wijnker > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of KAM > Sent: zondag 23 juli 2006 3:08 > To: [EMAIL PROTECTED] > Subject: Re: VFP9 Errors don't show in development mode > > operator/operand type mismatch. > > There are many others, but I have this documented here (with > pictures): > http://www.medicaresoftware.net/ftp_www/exe_errors.rtf > > > > ----- Original Message ----- > From: "Kevin Cully" <[EMAIL PROTECTED]> > To: <profox@leafe.com> > Sent: Saturday, July 22, 2006 12:47 PM > Subject: Re: VFP9 Errors don't show in development mode > > > Can you give an example of an error message? > > Kevin Cully > CULLY Technologies, LLC > > Sponsor of Fox Forward 2006! > http://foxforward.net > > > KAM wrote: > > Has anyone noticed that a lot of coding errors do not show > when you are using the development IDE, but they do show with you run > > the EXE? > > > > Is this a setting that I have incorrect? I am sure that > VFP8 did show the errors. > > > > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.