作业帮 > 英语 > 作业

英语翻译About JavaScript and Expressions One of the best things

来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/05/07 03:30:34
英语翻译
About JavaScript and Expressions
One of the best things about JavaScript is that you can create simple to more elaborate expressions with very little programming knowledge.Another advantage in using JavaScript in combustion is that you don't need any other software than combustion.
JavaScript Syntax
Like HTML,JavaScript is just text that can be entered in a word processor.In combustion,you enter text scripts in the Multi-line Editor.For more information,see Editing an Expression via the Multi-line Editor.
JavaScript includes variables,if-then statements,link events,JavaScript syntax with loops,arrays,functions,and forms.
The following table lists the most common punctuation that you use in combustion expressions.
Use For
() Parentheses around arguments.
"" Quotations around paths.
"..." Quotations around paths and three periods for relative paths.
; Semicolon at the end of a statement.
// Writing hidden comments.
/*and*/ Everything between these symbols,even on multiple lines,is not seen by expression.
Please keep in mind the following basic rules when writing expressions:
Expressions must be consistently returning the same values from one replay to another.
Never use Math random since it does not consistently return the same values from one replay to another.
Case matters!While and while are not the same thing.
Spaces and line breaks between tokens (i.e.a variable,name,number,function name,or other entity) don't matter.
A space or line break within a token translates into two tokens and generates a syntax error.For example,123 12 3 (The latter is two tokens and generates a syntax error.)
关于 JavaScript 和表达式
最好的关于事物之一 JavaScript 是你能产生简单的对比较精细的表达以非常少规画知识.另外的一个优势在combustion中使用JavaScript方面是你不超过combustion需要任何其他的软件.
JavaScript 语法
像 HTML ,JavaScript 只是能在一台文件处理机中被进入的本文.在combustion中,你在多线编者中进入本文手写体.对于较多的数据,见到编辑的经由多线编者的表达.
JavaScript 包括变数,如果-那么陈述,联编事件,JavaScript 有环,排列,功能和表格的语法.
下面列出在combustion表达使用的共同的标点.
使用
() 在争论周围的刮弧.
"" 在路径周围的报价.
".." 报价为比较的路径大约路径和三个期数.
; 在陈述结束的时候分号.
// 写作隐藏的意见.
/*和*/ 在这些符号之间的每件事物,甚至在多条线上,不是被表达见到的.
请在思想保存下列的基本规则当写作表达:
表达一定一致地归还来自一重赛的相同的价值给另外的.
从不使用数学随意自从它之后不一致地归还来自一重赛的相同的价值给另外的.
情形有关系!当而且的时候当的时候相同的事物不是.
表征 (也就是一个变数、名字,数字,功能名字或其他的实体) 之间的空间和线休息不有关系.
空间或一个表征里面的线休息转变为二个表征而且产生一个语法错误.举例来说,123?123(后者是二个表征而且产生一个语法错误.)
Combustion是discreet公司的动态矢量绘图,动画及三维合成软件,该软件可以利用javascript表达式很容易创建出复杂的动画