> >Snum = (sprite(the currentSpriteNum)).integer > > What are you trying? > "the currentSpriteNum" is already an integer. > If you really wanted to obtain the spriteNum from a spriteObject: > Snum = (sprite(the currentSpriteNum)).spriteNum > But it's over the bridge after water: > Snum = the currentSpriteNum > Jakob
the currentSpriteNum returns this: (sprite 4) both ().integer and ().spritNum return 4. They both do the same thing. They way I get the number is irelevent (as long as its correct), the problem is that by setting a break point my code is not working propperly (by returning a 0 every time). This means I cant trust the debugger to give me the correct values. I moved the break point to the next line, which is my put statment, and it gave me the correct value. So from this I take it the debugger somehow stops the line of code working that you place the breakpoint on. So now im having to use the debugger, find something wrong, then check this with a put statment just to see if its correct. Seams a little strange JamieD [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!]
