|
List Info
Thread: so strange problem
|
|
| so strange problem |

|
2006-05-26 18:11:02 |
|
r := 1 - probndim(wd,n-start,error);
writeinlog('soil_prob_calc='+floattostr( r));
(probndim makes some calculations)
the program writes in a log file one value
but when I run with this other code:
(with the same parameters values)
writeinlog('before');
r := 1 - probndim(wd,n-start,error);
writeinlog('soil_prob_calc='+floattostr( r));
the value in the log file is other.
why if the only difference is writeinlog('before'); and this
only writes a String in the log file, the behavior is not equal?
anybody can help me, please
william
|
| so strange problem |

|
2006-05-26 18:56:50 |
|
procedure to make sure that it strictly does not use any global
variables which it doesn't clean up - or local constants (which are
equivalent to static variables in c) - try changing writeinlog and
replacing with showmessage or some known function, see if the problem
still exists - also check if your probndim function doesn't use what
writeinlog does in terms of shared global variables and the like(nice
way of doing this is to try and copy-paste the function in a totally new
program and see if it will compile; then you know its truly independent
of external variables apart from its parameters)
j
Diaz, William (CIAT) wrote:
> I make a program and when i run withis code :
> r := 1 - probndim(wd,n-start,error);
> writeinlog('soil_prob_calc='+floattostr( r));
>
> (probndim makes some calculations)
>
> the program writes in a log file one value
>
> but when I run with this other code:
>
> (with the same parameters values)
>
> writeinlog('before');
> r := 1 - probndim(wd,n-start,error);
> writeinlog('soil_prob_calc='+floattostr( r));
>
> the value in the log file is other.
>
> why if the only difference is writeinlog('before'); and this
> only writes a String in the log file, the behavior is not equal?
>
> anybody can help me, please
> william
>
>
>
>
>
>
>
>
>
>
> -----------------------------------------------------
> Home page: http://groups.yahoo.com/group/delphi-en/
> To unsubscribe: delphi-en-unsubscribe@yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
|
| so strange problem |

|
2006-06-03 14:00:36 |
|
Diaz, William (CIAT) wrote:
> I make a program and when i run withis code :
> r := 1 - probndim(wd,n-start,error);
> writeinlog('soil_prob_calc='+floattostr( r));
>
> (probndim makes some calculations)
>
> the program writes in a log file one value
>
> but when I run with this other code:
>
> (with the same parameters values)
>
> writeinlog('before');
> r := 1 - probndim(wd,n-start,error);
> writeinlog('soil_prob_calc='+floattostr( r));
>
> the value in the log file is other.
>
> why if the only difference is writeinlog('before'); and this
> only writes a String in the log file, the behavior is not equal?
>
> anybody can help me, please
> william
>
>
>
>
>
>
>
>
>
>
> -----------------------------------------------------
> Home page: http://groups.yahoo.com/group/delphi-en/
> To unsubscribe: delphi-en-unsubscribe@yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
|
| so strange problem |

|
2006-06-04 01:57:22 |
|
your satisfaction... I would relook over that probndim... how about some
source on the probndim.
burndata(at)lennyslisting.com(dot)(com)
>From: Jangita <jangita jangita.com>
>Reply-To: delphi-en@yahoogroups.com
>To: delphi-en@yahoogroups.com
>Subject: Re: [delphi-en] so strange problem
>Date: Sat, 03 Jun 2006 17:00:36 +0300
>
>did you solve the problem? id like to know what happened...
>
>Diaz, William (CIAT) wrote:
> > I make a program and when i run withis code :
> > r := 1 - probndim(wd,n-start,error);
> > writeinlog('soil_prob_calc='+floattostr( r));
> >
> > (probndim makes some calculations)
> >
> > the program writes in a log file one value
> >
> > but when I run with this other code:
> >
> > (with the same parameters values)
> >
> > writeinlog('before');
> > r := 1 - probndim(wd,n-start,error);
> > writeinlog('soil_prob_calc='+floattostr( r));
> >
> > the value in the log file is other.
> >
> > why if the only difference is writeinlog('before'); and this
> > only writes a String in the log file, the behavior is not equal?
> >
> > anybody can help me, please
> > william
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -----------------------------------------------------
> > Home page: http://groups.yahoo.com/group/delphi-en/
> > To unsubscribe: delphi-en-unsubscribe@yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
|
| GraphicEX install |

|
2006-06-04 06:53:00 |
|
I have all files needed,but can't install or configure it PLEASE HELP.
Thanks
BEST WISHES
Arsen Khachatryan
-----------------------------------------------------
http://khaarsen.ueuo.com
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.
[Non-text portions of this message have been removed]
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|