Ну так ты какие параметры передаёшь в функцию? true и false? Зачем они там просто так нужны?
Например вот так можно:
use ui,proc,array,system,graph,contacts;
class ContactsSearch
daf
dept
textt
a
array
tits
function init(daf=0,dept=0,textt=" ",a=["1","2","3","4"],
array=[],tits="5");
this.daf=daf;
this.dept=dept;
this.textt=textt;
this.a=a;
this.array=array;
this.tits=tits;
end
function menu(tits,a,daf,dept)
while true do
c=ui.cmd();
end;
end
end
ответ опубликован: голосов: 2