just call from out side with a number like this
Rem Project:
Rem Created: 6/21/2005 8:17:18 PM
Rem ***** Main Source File *****
rem Standard Setup Code
sync on : sync rate 0 :
backdrop on
color backdrop rgb(0,0,0) : hide mouse
set text font "arial" : set text size 12 : set text transparent
RANDOMIZE timer()
do
Factorial(rnd(30))
sync
loop
function Factorial(n)
if n=<1
exitfunction n
else
rem output to see what n is up to.
text 0,400, "n="+str$(n)
sync
wait 100
if n=14 then text 0,100,"ho look I've come up Press a key to make me go away":sync:wait key:cls
Factorial(n-1*n)
endif
endfunction n
I'm not getting you down am I, Ho Look! another fancy Door?