Tom,

As I see it, unless you have an EEP in your form that _always_ runs and changes 
the value of vStopFlag from 1 your while loop constantly runs the edit command.

Regards,
Alastair.

From: TOM HART 
Sent: Monday, January 24, 2011 11:06 PM
To: RBASE-L Mailing List 
Subject: [RBASE-L] - Timeout

I have the following file that runs with a while loop and when I put a timeout 
in it, I guess it gets caught in the while loop because the form that is up 
starts flashing and will not shut down. Everything runs fine untill I put the 
timeout in 


all may variables are defined above
set timout 1
if vTouchPad = 'Y' then
  set var vStopFlag integer = 1
  while vStopFlag = 1 then
    edit using AAEmpIDform
  endwhile  - this I believe causes the problem
else
  EDIT USING VARNEXTRANS
  enter using AASales
endif
return

Tom Hart

Reply via email to