Livecycle

Livecycle

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
  • Getting Started
  • Quick Start Tutorials
  • Using LiveCycle Designer ES
  • Using Guide Builder
  • Scripting
  • Menu, Command, Toolbar, and Dialog Box Reference
  • Sample Form Snippets and Forms
  • Glossary
  • Copyright and trademark notices
  • Livecycle
  • Scripting
  • FormCalc User Reference
  • Language Reference
  • Expressions
  • Unary
Unary
A unary expression returns different results depending on which of the unary operators is used.
 
Expression
Character representation
Returns
Unary
-
The arithmetic negation of the operand, or null if the operand is null.
+
The arithmetic value of the operand (unchanged), or null if its operand is null.
not
The logical negation of the operand.
Note:
The arithmetic negation of a null operand yields the result null, whereas the logical negation of a null operand yields the Boolean result true. This is justified by the common sense statement: If null means nothing, then “not nothing” should be something.
These are examples of using the unary expression:
 
Expression
Returns
-(17)
-17
-(-17)
17
+(17)
17
+(-17)
-17
not(“true”)
1 (true)
not(1)
0 (false)

Unary

Livecycle > Unary

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
    • Getting Started
      • Quick Start Tutorials
        • Using LiveCycle Designer ES
          • Using Guide Builder
            • Scripting
              • Scripting Using LiveCycle Designer ES
                • Scripting Reference
                  • FormCalc User Reference
                    • Introducing FormCalc
                      • Language Reference
                        • Building blocks
                          • Expressions
                            • About expressions
                            • Simple
                            • Assignment
                            • Logical OR
                            • Logical AND
                            • Unary
                            • Equality and inequality
                            • Relational
                            • If expressions
                            • While expressions
                            • For expressions
                            • Foreach expressions
                            • Break expressions
                            • Continue expressions
                        • Arithmetic Functions
                          • Date and Time Functions
                            • Financial Functions
                              • Logical Functions
                                • Miscellaneous Functions
                                  • String Functions
                                    • URL Functions
                                  • Menu, Command, Toolbar, and Dialog Box Reference
                                    • Sample Form Snippets and Forms
                                      • Glossary
                                      • Copyright and trademark notices

                                      Livecycle

                                      • de
                                      • en
                                      • fr
                                      Powered by Helpmax Guide Source