I had this if decision structure in my code
for some strange reason my code kept breaking with expected end if at the end. so thinking i missed somthing i searched and searched. in frustration i added 2 end if's to the bottom of the code. this fixed it. (i think) has any one else run into this in there code or am i missing something? Thanks
Karl Pietri
Code:
if blah=blah then
if something=2 then
end if
elseif blah=blah2 then
if something=2 then
end if
elseif blah=blah3 then
else
endif
for some strange reason my code kept breaking with expected end if at the end. so thinking i missed somthing i searched and searched. in frustration i added 2 end if's to the bottom of the code. this fixed it. (i think) has any one else run into this in there code or am i missing something? Thanks
Karl Pietri