I have a backup program that uses a DO WHILE loop to copy files from one drive / directory to another...
The loop is structured as follows:
<b>
nIndex = 1
DO WHILE nIndex <= ALEN( aFileList, 1 ) <i>AND ! THISFORM.lAborted</i>
.
.
.
ENDDO
</b>
The user clicks "Start" to begin the backup.
The caption on the "Start" button changes to "Cancel"
When the "Cancel" button is clicked, I set
THISFORM.lAborted TO .T. but the loop doesn't exit...
What am I missing here??
TIA