|
|
本帖最后由 EPFL_GO111 于 2010-6-3 23:05 编辑 . U/ G; W$ f7 z3 l, x
" @7 r, u, G5 D% ?2 h5 `, }
以下是我写的代码:
: o5 `' a" f8 K7 c# k/ m( k/ a& F
" i% W: w# D3 ~+ H6 l& hinteger yindex,i;7 v" z" c r" Z# R- c( X
real temp;
! ?. g4 i; t" Q6 N0 i3 e" ?. n7 y7 G4 ~( Z; G
yindex=GAGetIndex("firsty"); % o# q% V! s6 E5 o D
for(i=1;i<1990;i++)2 G' m+ g0 Z Q) K
temp=GAGetReal(yindex, i,0); //读第i 行 第 0 列的数据! ?3 {. k- a7 r# n2 U" Q, }
output=temp;
( i# z1 A' h$ I Q! D N8 e) U0 \/ V4 k7 K
然后output的值一直是0,也就是说该代码读取不到GA数据,请问哪里出错了?谢谢
, K/ {1 Y8 H$ ~9 W& d, Q, f. L( m8 c4 ~/ v
PS:firsty is a real GA |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|