You still need to call doIt in the loopTest method. letjust defines doIt, just as it methodsimply defines a method and does not call it. The compiler detects this because it does not know what to return from loopTest (for example, a method that does not have a return type of void but does not have an implementation in C # or Java).
, , , if x>1 then doIt (x-1), doIt 100 - .