D
darrel
This might be a really dumb question, but when should/shouldn't one use the
exit function command?
If I have this:
function()
if something then
do this
return that
else
do this
return that
end if
end function
should I instead always use this instead:
function()
if something then
do this
return that
exit function
else
do this
return that
exit function
end if
end function
or does the very act of returning something exit the function?
exit function command?
If I have this:
function()
if something then
do this
return that
else
do this
return that
end if
end function
should I instead always use this instead:
function()
if something then
do this
return that
exit function
else
do this
return that
exit function
end if
end function
or does the very act of returning something exit the function?