Nice. You created without know something which in computer science is called "recursive function". On your Call function, the function is called within itself, which creates a loop which will only be terminated "if hear the answer". This is a very powerful concept in scripting, and it is something we are looking at in Scripting II. The indentation in your code works fine, but as you see you would still have to define tons of objects and actions you execute!
Nice. You created without know something which in computer science is called "recursive function". On your Call function, the function is called within itself, which creates a loop which will only be terminated "if hear the answer". This is a very powerful concept in scripting, and it is something we are looking at in Scripting II. The indentation in your code works fine, but as you see you would still have to define tons of objects and actions you execute!
ReplyDelete