|
UF_ROUTE_ask_characteristics试了很久都用不起来2 R% Q" A6 m4 o3 G$ O: g
UF_UI_open_listing_window();
, y: h6 H: {+ c2 Q( K UF_ROUTE_ask_part_segs(part,&num_part_segs,&part_segs);& R) I/ `, {& B7 ^7 P- N2 W
for (i=0;i<num_part_segs;i++)& ^/ j* ~; B; m/ u- e* _& w
{! J( S( w7 C) F: r
fail_code=UF_ROUTE_ask_characteristics(part_segs[i],UF_ROUTE_CHARX_TYPE_ANY,&charx_count,&list);
* [5 {8 V" i- L `& O: ] UF_get_fail_message(fail_code,message);
/ c9 k/ G9 n8 g" g9 P: W& w uc1601(message,1);
+ u; h( n; c/ A length=fcvt(charx_count,0,&nDec,&nSign);
, |* a; c9 w9 \- H0 r fail_code=UF_UI_write_listing_window(length);
" f5 h& j1 S7 u* M4 j5 `6 h UF_get_fail_message(fail_code,message);" l: x4 ]$ ^3 v* X& d" [
uc1601(message,1);% c& X E0 ~* F, t% j- v, j! g7 C
UF_UI_write_listing_window("\n");5 T" B2 ?9 T7 T @: _0 t" j% U6 m* ]
UF_ROUTE_free_charx_array(charx_count,list);+ ~% W8 l5 x$ I% I* L0 b+ z
}( d' E7 F) y& H; D& s
除了空白窗口之外什么都没有显示,请大家指教 |
|