|
API中我是这样的定义字符串的:( B' h. p9 j" C1 c" ~1 a! n$ m+ e& L
char custom[7][10]={"HP","KODARK","HUAWEI","SIMENZ","HAIER","RBC","FOXCON"}4 z3 o: Z- h! p2 U" f( x: W: E, Y3 V
8 _ A3 c# W7 m
在grip里接受数据:: P+ I) f- X P' v3 y+ R
string/custom(7,10)
7 k- E: o2 P q8 l: l1 p
8 r+ L. z5 y1 S$ o* ^label1:* _. i% i( D- T; T* F
PRINT/custom(1),custom(2),custom(3),custom(4),custom(5),custom(6),custom(7)
z& P6 P5 M1 f2 p1 Q T+ E5 z; j5 ]- `列印的结果却是:HP,ODARK,AWEI,ENZ,R,,
9 {$ E. C0 s( U" T R* S& J
6 j/ L9 {+ k% u5 `* E/ s. u蓝色字体到那里去了,不太懂指针,所以望贵人提携!谢了!
6 k/ P9 h7 c9 t* o- }% {, \ 这个问题搞了好久,头大,期盼高手指点。 |
|