Page **1** of **1**

### Are there a limit number of If End inside a funtion?

Posted: **Sat Aug 26, 2017 7:45 pm**

by **Juan Carlos**

I have the message:

Too many upvalues!

And this is my question if are there a limit number of If End inside of a function?

### Re: Are there a limit number of If End inside a funtion?

Posted: **Mon Aug 28, 2017 12:12 pm**

by **Juan Carlos**

Yes, confirmed, I put the if EndIf in other function and there isn't problem in the main function.

### Re: Are there a limit number of If End inside a funtion?

Posted: **Tue Aug 29, 2017 5:41 pm**

by **airsoftsoftwair**

How many nested If sections do you have?

### Re: Are there a limit number of If End inside a funtion?

Posted: **Tue Aug 29, 2017 9:22 pm**

by **Juan Carlos**

Too much.