zoukankan      html  css  js  c++  java
  • Plant Simulation常用命令

    Plant Simulation 是面向对象的三维离散事件仿真软件,使您能够快速、直观地构建逼真的物流模型。 您还可以使用高级统计工具执行复杂的生产分析。以下介绍该软件的一些常用命令。

    1. clearConsole: 清空控制台内容。

    2.表操作:

    is
       orderlist : table[string,real];
    do
       orderlist.create;
       orderlist[1,1] := "cans";
       orderlist[2,1] := 3000.0;
       orderlist.forget;    -- 删除表
       orderlist.create(4); -- 重现创建一个4行的表end; 

     3.  When-Then-Else

    例1:  is
    do
       @.color := when ?.entranceLocked then "red" else "green";
    end;  
    例2:  (n : integer) : integer -- computes the faculty of n
    is
    do
       return when n > 1 then n * self.execute(n - 1)
           else 1;
    end;  
    例3:  Method(x, y + (when dy > 0 then y+dy else 100));  
  • 相关阅读:
    数据库设计范式
    SQL 触发器
    SQL查询上月和本月两个月的语句
    angularjs学习总结 详细教程
    指令
    重复 HTML 元素
    AngularJS 数据绑定
    AngularJS 指令.
    AngularJS 数组
    AngularJS 对象
  • 原文地址:https://www.cnblogs.com/xpvincent/p/3407906.html
Copyright © 2011-2022 走看看