hi there devs.
I wanna know what is the diference between a local function and just a regular function.
I see people use it and i don t know what s the diference by just using a normal function.
Can someone expain?
If I am correct…declaring local or non-local doesn’t make much difference, but it’s still a good habit to declare local. The use of local function is when you want the function to be only declared in a block of code (aka scope if you will). This also applies to local variables.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.