Brian, Have you discovered the FB debugger? Turn it on in the Tools menu, then add a TRON BREAK to your code as shown. When you run it, you'll have to click HIDE in the navigation window (or press F6) once or twice until the program stops at this line. Then check the values of your variables in the LOCAL vars window. You may be surprised at what you see. e-e =J= a y " On Monday, October 11, 2004, at 09:42 PM, Brian Heibert wrote: > Hi, there is something wrong with this code: > > CASE UCASE$(LEFT$(lineStr,4)) = "WIN " > Lft=VAL(MID$(lineStr,5)) > Md$= STR$(MID$(lineStr,7)) > Sz1 = VAL(MID$(lineStr,2)) > Sz2 = VAL(MID$(lineStr,2)) > Sz3 = VAL(MID$(lineStr,2)) > Sz4 = VAL(MID$(lineStr,2)) TRON BREAK > WINDOW #lft,md$, (Sz1,Sz2) - (Sz3,Sz4) > > I am getting a window but it is being put in the background > > Brian > > -- > >