Sorry, I should have mentioned, thats what I am doing, stepping through the code. But its giving me the wrong vales. I have found that by placing the break point carefully in the code, e.g. making a put statment and setting the break point there, I can get it to work propperly.
I have only found it to give false values on the line in my prev email, it just happened to be the line that I first tried to use the debugger with. Maybe its just an isolated case. JamieD > Hi Jamie > You wrote: > > the problem is that by setting a break point my code is not working > > propperly (by returning a 0 every time). > > Seams a little strange > What do you do after it stops? > Because when you set a breakpoint, the lingo will stop > execute. So if you > set it on that line, the code there will not execute until > you tell it to do > so. > If you use the "step by line" i think it�s named button in > the debugger, the > code will from that point on execute oneline then stop until > you tell it to > continue, so you can check all parameters you want and so on. > > Just my 2 cents > > HTH > > /Micke > > > > > > > > [To remove yourself from this list, or to change to digest mode, go to > http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, > email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) > Lingo-L is for learning and helping with programming Lingo. Thanks!] > > [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]
