//	@file Version: 1.0
//	@file Name: ADP_F_GExec.sqf
//	@file Author: THumbert
//	@file Created: 12/14/2013
//	@file Description: Executes the edit line Globally on Debugging Page of ADP

private ["_ctrl","_result","_combined","_ResCtrl"];
_ctrl = _this select 0;
_text = ctrlText _ctrl;
_LastExec = format ["%1",_text];
ADP_GlobalExecute = compile _text;
publicVariable "ADP_GlobalExecute";
[[], "ADP_GlobalExecute", true] call BIS_fnc_MP;	
_DEdit = format ["M%1",_ctrl];
player setVariable [_DEdit,_LastExec, false];
