I am the king of the infinite loop - in real handlers I've got into the habit of putting

repeat (conditions)
 if the optionKey is down then exit to top

until I'm sure I've got things right.

I've had to force quit too many times :)

Mark

On 1 May 2006, at 12:09, Alex Tweedly wrote:

  repeat
    read from file pPath at pStart for tSize
    put it into tChunk
    if tChunk is empty then

Won't happen - the last read will be a chunk of size strLen, so you never exit.

      close file pPath
      return 0
    end if


--
Alex Tweedly       http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/327 - Release Date: 28/04/2006

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to