设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7262|回复: 1

[求助] 帮我看看报告器例程

[复制链接]
发表于 2008-4-16 09:40:56 | 显示全部楼层 |阅读模式
5仿真币
to setup
* T  Z5 _2 h' x0 D$ C0 F# E  clear-all
7 o5 j2 Z3 k  b6 S- T0 z  crt 5
2 Y3 ?8 }  m; U  ^2 D& B  absolute-value  10  
; r- s# d8 Q6 p/ n; Cend0 H1 H+ A7 ?4 Q% G0 |4 P9 e
to-report absolute-value [ number ]5 e2 ^1 \& R+ J( Z: P1 p
   ifelse number >= 0 [report number] [report (- number)]5 E3 P. s6 [& ]+ O" y0 S% |
end8 @( B8 ~/ P% o8 Z
check时出错
 楼主| 发表于 2008-4-16 13:57:07 | 显示全部楼层
谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-9-14 12:08 , Processed in 5.251463 second(s), 11 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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