expression

Learn about expression, we have the largest and most updated expression information on alibabacloud.com

Fetch operator (%)

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

Logical "or" operator (| |)

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

Logical "NON" operator (!)

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

Logical AND Operator (&&)

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

Left-shift assignment operator (<<=)

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

Increment (+ +) and decrement (-) operators

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

Conditional (triple-mesh) operator (?:)

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

Comma operator (,)

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

Bitwise XOR Operator (^)

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

Bitwise XOR or assignment operator (^=)

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

Bitwise RIGHT SHIFT operator (>>)

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

Bitwise OR 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

Unsigned Right shift operator (>>>)

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

Subtraction Operator (-)

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

Do...while statement

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

@set statement

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

@if statement

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

If...else statement

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

Selection and Grouping

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

Using regular expressions

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

Total Pages: 53 1 .... 7 8 9 10 11 .... 53 Go to: Go

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.