issue-#155 Clean the sources from old commented realisations
Posted: Thu Mar 16, 2017 7:00 am
I suggest to clean some of the commented code in the sources of BlackBox.
Some of this commented code should not be deleted, because it makes existing code easier to understand.
However many of comments just providing the mess. The example is Dialog module:
Post here your suggestions, please.
Some of this commented code should not be deleted, because it makes existing code easier to understand.
However many of comments just providing the mess. The example is Dialog module:
Code: Select all
NEW(showHook); Dialog.SetShowHook(showHook);
(*
Hooks.showParamMsg := ShowParamMsg;
Hooks.showParamStatus := ShowParamStatus;
*)
NEW(dialogHook); Dialog.SetGetHook(dialogHook);
(*
Hooks.getOK := GetOK;
Hooks.getIntSpec := GetIntSpec0;
Hooks.getExtSpec := GetExtSpec0;
Hooks.getColor := ColorDialog0;
*)
(*
Sequencers.GetIntSpec := GetIntSpec;
Sequencers.GetExtSpec := GetExtSpec;
*)
NEW(getSpecHook); Views.SetGetSpecHook(getSpecHook);
HostFiles.MapParamString := Dialog.MapParamString;
NEW(datesHook); Dates.SetHook(datesHook);
(*
Hooks.getTime := GetTime;
Hooks.dateToString := DateToString;
Hooks.timeToString := TimeToString
*)
NEW(languageHook); Dialog.SetLanguageHook(languageHook); Dialog.ResetLanguage;
NEW(extCallHook); Dialog.SetExtCallHook(extCallHook);
hideExtRunWindow := FALSE
END Init;