example:
this leaks a unit group...however i cant fix it after i return it. so is there any way to fix this leak?
also i've been reading some functions from common.j and blizzard.j and noticed that some of them return "boolexpr". what is this variable type? is it something simular to boolean or what?
thanks in advance
Code:
function SomeFunction takes nothing returns group
local group ug = CreateGroup ()
call GroupAddUnit (ug, <some unit>)
return ug
endfunction
also i've been reading some functions from common.j and blizzard.j and noticed that some of them return "boolexpr". what is this variable type? is it something simular to boolean or what?
thanks in advance