From: Matthew Kerwin Date: 2012-08-09T18:52:41+09:00 Subject: Re: Why if executes two times? On 9 August 2012 19:32, ajay paswan wrote: > ZhanGNer wrote in post #1071763: >> It shouldn't happened, may be due to IDE gives the illusion to you. > > So how can I find the reason for illusion? or what I need to do now? There are three questions I would need you to answer to be able to help further: * What is the if statement in question? * Is it in a reentrant position (e.g. a loop)? * What are you using to set a breakpoint / debug the program? -- Matthew Kerwin, B.Sc (CompSci) (Hons) http://matthew.kerwin.net.au/ ABN: 59-013-727-651 "You'll never find a programming language that frees you from the burden of clarifying your ideas." - xkcd