Quote: "What happens is the the nested function is only accessible from code within the function - you'd use it for repeated pieces of code within a function that are not called from anywhere else and that you don't want to make globally available.
"
didn't make the connection to private/public functions either
Quote: "if yes, you could do it..!!! Let me know..!!"
recursive functions are possible. EX:
a$="HeLlO WoRlDdDdDfDaWeRtG"
recursive_print(10,100,1,a$)
sync
wait key
end
function recursive_print(x as integer, y as integer,index as integer, str as string)
if index<len(str)
text x,y,mid$(str,index)
recursive_print(x+8,y+1,index+1,str)
endif
ENDFUNCTION