- 1
- 0
- 约1.96万字
- 约 17页
- 2019-06-19 发布于浙江
- 举报
PAGE
PAGE 1
DATE \@ M/d/yyyy 6/19/2019
A first start in 4DScript
4DScript is the programming language of Enterprise Dynamics. Everything that is executed in Enterprise Dynamics is or can be done via 4DScript. This document provides for beginners the structure of 4DScript and a list of often used commands, illustrated with examples.
We start with the syntax rules together with the mathematical and logical operators. The second part consists of the most common commands in ED. In the third part the concept of referencing is illustrated with examples.
The basic structure of 4DScript
The basic syntax of 4DScript is simple and is valid at any position where you can write 4DScript:
the language contains a number of words (commands);
these 4DScript commands can have (up to 255) parameters;
the parameters are placed between parenthesis ( );
parameters can be values, strings(字符串) or expressions(表达式) (other 4DScript words)
parameters are always separated by commas;
if a parameter should be interpreted as a string, the string parameters are always placed between square brackets [ ]. If the parameter should be executed as 4DScript code, the parameter is written in a normal fashion;
comments can be placed between squiggly brackets { }.
These rules apply everywhere and are always valid. However, for some statements these rules do not result in a very readable code. In order to make parts of the code easier to understand for others, the 4DScript syntax makes an exception in some cases. This applies in particular to mathematical and logical symbols.
A list of important 4DScript words, some of which we explain later in this document. All words can be found in the Help Overview in the Help menu.
Mathematical operations: +, -, /, *, Min, Max, Mod
Logical operations: , , =, =, ,(不等于) And, Or
Probability distributions: NegExp, Uniform, DUniform, Normal(正太分布), Bernoulli
Miscellaneous 4DScript words: Do
Time: Time, Mins, Hr
Conditional statements: If, Case
Referencing: First, L
您可能关注的文档
- 网络控制协议与信息安全技术研究.doc
- 棉纺制造与销售工作生产实习.doc
- 继承光荣传统,开拓美好未来—继承传统某外语校庆心得.doc
- DK178+780.000龙翔大桥施工组织设计钻孔桩基础连续梁施工附示意图模板支撑计算书.doc
- 质量保证体系文件组成.doc
- 名湖豪庭二期工程文明施工组织设计方案.doc
- 集团有限公司咨询项目试点分公司绩效管理手册.doc
- 某酒店集团员工管理手册.doc
- 某区域内部管理规章制度.doc
- 某市第二轮数字城管外包服务采购项目需求论证内容.doc
- 伟明环保-市场前景及投资研究报告-境内业务稳健运行,印尼市场贡献边际增量.pdf
- 桂东县法院系统招聘考试真题2025.pdf
- 贵州省黔南布依族2026年中考三模物理试题及答案.pdf
- 贵州省黔南州2026年中考语文二模试卷附答案.pdf
- 贵州省铜仁市2026年中考语文二模试卷附答案.pdf
- 2026上半年安徽事业单位联考合肥市庐江县招聘36人备考题库及一套完整答案详解.docx
- 贵州省毕节市2026年中考语文一模试卷附答案.pdf
- 贵州省贵阳市南明区2026年中考语文一模试卷附答案.pdf
- 2026上半年安徽事业单位联考合肥市庐江县招聘36人备考题库及一套参考答案详解.docx
- 贵州省贵阳市白云区2026年中考二模物理试题附答案.pdf
最近下载
- 介绍楚门的世界.pptx VIP
- 2025年拍卖师市场饱和度与竞争红海中的差异化突围策略分析专题试卷及解析.pdf VIP
- 2025年互联网营销师商业谈判与供应链管理能力专题试卷及解析.pdf VIP
- 2025年化工工程师多搅拌器串联与并联系统操作优化专题试卷及解析.pdf VIP
- 2025年拍卖师农产品拍卖拍卖师竞买人购买反馈专题试卷及解析.pdf VIP
- 2025年AWS认证AmazonRDS只读副本的只读副本的只读副本在主实例故障后的角色切换专题试卷及解析.pdf VIP
- 法律职业资格(主观题)真题答案解析2025.docx VIP
- 12J926-无障碍设计标准图集.pdf VIP
- 导弹的总体设计(西工大课件).pdf VIP
- 2025年演出经纪人演出经营许可证申领与年检专题试卷及解析.pdf VIP
原创力文档

文档评论(0)