That is me to a "T"...but it is because I am still relatively new to this and watching the "Magic" still fascinates me.At this point, I will stop and state what should hopefully be obvious: The reverse is not true. A lazy programmer is rarely good. You know the person I’m talking about. Maybe they like to execute that query and stare at the screen for three minutes while it runs rather than opening up a new tab and working on a different piece of code.
Option Compare Database Option Explicit Function fib(a As Long) As Long If a = 0 Then Exit Function ' just stop the recursion. If a = 1 Then fib = 1 Else fib = fib(a - 1) + fib(a - 2) End If End Function Sub main() MsgBox fib(5) End Sub
First and foremost, thank you for that kind assessment.But you demonstrate regularly how un-lazy you are.