I have a set of if then statements that exceed 20 24 to be exact. I am using them to select when sunrise starts and sunset starts. I know I could use case statements as well but can anyone point me to what is meant by a nested IF. IS this a limit to just 20 if statements in a program or how do they have to be separated not to be considered nested. I looked in the commands but didn't see this limit mentioned.