Mathematica > 核心语言 > 过程式编程 >
过程式编程
在支持多种编程模式方面,Mathematica 从传统的计算机语言中脱颖而出. 过程式编程是 C 和 Java 等脚本语言的唯一编程模式. Mathematica 支持所有标准的过程式编程结构,但往往通过集成把它们扩展到更为普遍的符号编程环境中.
x=value (Set) — 设定变量值
expr;expr;expr (CompoundExpression) — 依次执行表达式
    
=  ▪ +=  ▪ ++  ▪ *=  ▪ AppendTo  ▪ ...
Do  ▪ While  ▪ For  ▪ Table  ▪ Nest  ▪ ...
If  ▪ Which  ▪ Switch  ▪ And(&& ▪ Equal(== ▪ Less(< ▪ ...
Return  ▪ Throw  ▪ Catch  ▪ TimeConstrained  ▪ ...
Module  ▪ With  ▪ Block  ▪ ...
Print  ▪ Input  ▪ Pause  ▪ Import  ▪ OpenRead  ▪ ...
教程
更多关于
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
格式:   HTML  |  CDF