Here's another one... This is perfectly legal syntax (according to the manual) ...

This script traps ...

code:

break on
clearscreen
exit


function clearscreen
cls
endfunction


But this script works...

code:

break on
clearscreen
exit


function clearscreen
cls
cls
endfunction


And this script works...

code:

break on
clearscreen
exit


function clearscreen()
cls
endfunction


Shawn.

[This message has been edited by Shawn (edited 22 April 2001).]