[size=-2]------ Добавлено в 16:57
Вот код
func doIntToStr
fvar(st, old)
if(linked(Result))
old = block.select(BLK_PRIV_VAR)
println(s, ':string;')
block.select(old)
println(s, ' := int2str(', Data, ');')
event(onResult, s)
else
event(onResult, ' int2str(' + Data + ') ')
end
end
func Result
if(linked(doIntToStr))
return(s)
else
return(' int2str(' + Data + ') ')
end
end