emk2012, have you understand what Kerry explained to you? You haven't modified your code according to Kerry's suggestions...
And you are missing some subs like (fy:begin/end)...
Hi ribarm , Thank you for your help , you mean lack function ? name
I konw some function need appload XD function lib and FY function lib eg:
xd::doc:createSubDimstyle , fly:begin/end
That function is not open source .