donna, if you read my first reply, you see the answer to this particular error.

for future errors if it's syntax error, it causes kix to terminate and this means your sleep does not help.
on short scripts it's good to use debug (switch /d in calling line: "kix32 /d script.kix")

for extensive/large/complex scripts there is good kixstrip tool which checks syntax.
tool is downloadable from mca's site (link in kixtart.org-> scripts)

cheers,
_________________________
!

download KiXnet