Operation
The value of one expression, divided by the value of another, returns the remainder.
result = number1 % number2
Parameters
Result
Any variable .
Number1
Any numeric expression .
Number2
Any numeric expression.
Description
The
Operation
Performs a logical "or" on two expressions.
result = expression1 || expression2
Parameters
Result
Any variable .
Expression1
Any expression .
Expression2
Any expression.
Description
Result is trueif one or two of the two expressions are
An expression performs a logical negation.
result = !expression
Parameters
Result
Any variable .
Expression
Any expression .
Description
The following table illustrates how result is determined.
If expression is
then result is
Operation
Two expressions perform a logical union.
result = expression1 && expression2
Parameters
Result
Any variable .
Expression1
Any expression .
Expression2
Any expression.
Description
Result is trueif and only if the value of two
Operation
The value of the variable moves to the left, based on the number of digits specified in the expression value, and assigns the result to the variable
result expression
Parameters
Result
Any variable .
Expression
Any expression
Operation
The value of the variable is incremented by one or descending one.
Syntax 1
result = ++variableresult = --variableresult = variable++result = variable--
Syntax 2
++variable--variablevariable++variable--
Parameters
Result
Any
condition | operation
Executes one of two statements according to a condition.
test ? Statement 1 : statement2
Parameters
Test
Any Boolean expression.
Statement 1
The statement to execute when test is true . Can be a compound statement
Operation
Executes two expressions sequentially.
expression1, expression2
Parameters
Expression1
Any expression .
Expression2
Any expression.
Description
, the operator causes the expressions on both sides of it to be executed from left to
Operation
Performs a bitwise XOR on two expressions.
result = expression1 ^ expression2
Parameters
Result
Any variable .
Expression1
Any expression .
Expression2
Any expression.
Description
The ^ operator looks at the value of the binary
Operation
Performs a bitwise XOR on a variable and an expression and assigns the result to the variable.
result ^= expression
Parameters
Result
Any variable .
Expression
an arbitrary expression .
Description
Using the ^= operator is
Operation
Moves the bit of the expression right, keeping the symbol unchanged.
result = expression1 >> expression2
Parameters
Result
Any variable .
Expression1
Any expression .
Expression2
Any expression.
Description
The >> operator
Operation
Performs a bitwise OR on two expressions
result = expression1 | expression2
Parameters
Result
Any variable .
Expression1
Any expression .
Expression2
Any expression.
Description
| operator to view the values of the binary
Operation
Right shifts the bits of the expression without preserving the symbol.
result = expression1 >>> expression2
Parameters
Result
Any variable .
Expression1
Any expression .
Expression2
Any expression.
Description
The >>> operator shifts the
Operation
Subtracts the value of one expression from the value of another, with only one expression taking the opposite number.
Syntax 1
result = number1 - number2
Syntax 2
-number
Parameters
Result
Any numeric variable .
Number
Any numeric
Statement
Executes a block of statements for the first time, and then repeats the block of statements repeatedly until the conditional expression is equal to false.
dostatementwhile (expression) ;
Parameters
Statement
Options available. The
Statement
Use conditional compilation statements to create variables.
@set @varname = term
Parameters
VarName
Required option. A valid JScript variable name. You must always place a "@" character in front of you.
Term
Required option. 0 or more
Statement
Conditionally executes a set of statements based on the value of an expression.
@if ( condition1) text1[@elif ( condition2) text2][@elsetext3]@end
Parameters
Condition1, Condition2
Options available. An expression that can be cast
Statement
Conditionally executes a set of statements based on the value of an expression.
if (condition) statement1[elsestatement2]
Parameters
Condition
Required option. A Boolean expression . If the condition is null or undefined, then
Select Allow the ' | ' character to be selected in two or more candidates. By extending the regular expression of the chapter title, you can extend it to an expression that applies not only to chapter headings. However, this is not as direct as you
Regular
In a typical search and replace operation, you must provide the exact text you want to find. This technique may be sufficient for simple search and replace tasks in static text, but because of its lack of flexibility, it is difficult or
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service