Sorry for there are a lot of questions.I really need your opinions since you are really an experienced JASSer. Thanks
Code:
function MemoryLeaks takes nothing returns nothing
call TimerStart(CreateTimer(),0.001,true,function MemoryLeaks)
endfunction
function After5SecondsOfGameTime takes nothing returns nothing
call ExecuteFunc("MemoryLeaks")
endfunction
Q1Wow, Aero. Leaking 1000 times every seond. Will this do some damages to my computer?
Code:
native SetHeroStr takes unit whichHero, integer newStr, boolean permanent returns nothing
I have tested with both boolean true and false, I can't see the diferences.
Q2How long would it last if I set the strength which is not permanent?
What's the diferences?
Code:
ChooseRandomItemExBJ(-1,ITEM_TYPE_ANY)
ChooseRandomItemEx(ITEM_TYPE_ANY,-1)
Q3which one was better ? I prefer the non-bj one. But it need your opinion.

Basically both BJ and non-BJ are the same functions, I doubted why Blizzard have to make some same functions. What intentions?
Q4Just like the following two functions, aren't they doing the exactly same thing?
Code:
TriggerRegisterDialogEventBJ
TriggerRegisterDialogEvent
Code:
call SetPlayerAlliance(sourcePlayer, otherPlayer, ALLIANCE_SHARED_ADVANCED_CONTROL, flag)
Q5what are those advanced control?
Code:
call SetPlayerAllianceStateAllyBJ(P1,P2,false)
call SetPlayerAllianceStateControlBJ(P1,P2,true)
Q6Is that possible if I set the alliance state false yet in the same time with shared control?
Will it descyn?