uses console
function rf(int i)
if i>0 'limit recursion
print i tab i*i cr
rf(i-1) 'recurse
endif
end function
rf 20
wait
'#include "testme.inc" '' with using an include file it's not a problem here
FUNCTION mytest() AS LONG
local t as long
LOCAL a,b,c AS LONG
a=20
b=50
c=a*b
print "calculation test "+ str(c) ' result 1000
''' it's possible to call mytest() itself inner function?
'if not t then
'call mytest()
'end if
''' it's possible to call mytest() itself inner function?
END FUNCTION
mytest() ' all ok that's the usual way to call a function
''
''mytest() ' if it's deactivated it's not possible to call mytest() function
'' or it's another way possible perhaps with asm?
Page created in 0.214 seconds with 13 queries.