设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3108|回复: 1

[求助] 多个singleproc的调用问题?

  [复制链接]
发表于 2011-11-11 10:43:06 | 显示全部楼层 |阅读模式
有多个singleproc如singleproc1、singleprco2、singleproc3我能不能编写一个变量i,使用singleproc i来访问我这些singleproc?请高手指教,我是菜鸟请尽量详述!
发表于 2011-11-14 10:30:07 | 显示全部楼层
我的方法有点笨。。- U5 A, X! [( T6 a# z( h" i, X
is* k% \. O3 N8 F2 M, K3 i: u
        i:integer;5 ?; G* H3 X1 U
        j:string;
; w1 y) {0 R* a6 a" V: c        m1:object;
/ @4 }; t/ {# z7 E) odo
: @5 {0 `2 ~  G/ v: e0 \# t9 [+ |        j := num_to_str(i);
" H' M" L6 S! o6 \        m1 := str_to_obj(incl(singleproc,j,11));: i9 t* D% n! L" l8 m  R
end;
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2025-8-22 03:35 , Processed in 0.012874 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表