|
![]() |
#1 |
Участник
|
X++: static void business_owner(Args _args) { smallCompany smCom; Documents docs; Amount targetTurnover; ; smCom = new smCom(); smCom.parmInitCapital(10000); smCom.parmCompanyName('ITGoods'); docs = smCom.init(); //Регистрация, получение документов targetTurnover = 100000000; //set goal to medium company do // Вперед и с песней { smCom.Run(targetTurnover); } while(smCom.yearTurnoverAmount < targetTurnover); } // где то в методе smCom.Run(); { custTableCollection customers; int current; resultCollection workResult; strategyCollection strategy; ; while (period < year) { customers = this.doMarketing(finResult/5, strategy); for (current = 1; current <= customers.count(); current++; ) workResult[current] = this.doServiceFor(customers[current], strategy); salesAmount = this.doSales(workResult, strategy); finResult = salesAmount - this.doPayments(salesAmount, strategy); strategy = this.doAnalyzeOLAPandDecision(targetTurnover, finResult, strategy); this.implementNewStrategy(strategy); } } |
|
|
За это сообщение автора поблагодарили: mazzy (2), S.Kuskov (3), pitersky (1). |