Jump to main content
HCL Logo Product Documentation
Software Academy
  • Customer Support
HCL Z and I Emulator for Web (ENGLISH)
  • Release Notes
  • Product Documentation
  1. Home
  2. Product Documentation
  3. Macro Programming Guide
  4. Developing macros
  5. Data types, operators, and expressions
  6. Arithmetic operators and expressions
  • Product Documentation
    • Licensing
    • Installation Guide
    • Web Express Logon Reference
    • Macro Programming Guide
      • About this book
      • Macro basics
      • Developing macros
        • Data types, operators, and expressions
          • Choosing a macro format
          • Standard data types
          • Fields
          • The value null
          • Arithmetic operators and expressions
            • Operators and expressions
            • Where arithmetic expressions can be used
          • String concatenation operator (+)
          • Conditional and logical operators and expressions
          • Automatic data type conversion
          • Equivalents
          • Significance of a negative value for a row or column
        • How the macro runtime processes a macro screen
        • Screen description and recognition
        • Macro actions
        • Screen Recognition, Part 2
        • Actions, Part 2: Timing issues
        • Variables and imported Java classes
        • Other security options
        • Other advanced features
        • The graphical user interface
      • The macro language
      • Additional information
      • Notices
      • Trademarks
    • Host Access Toolkit
    • ZIE for Web Client (ZIEWeb-Client)
    • Host Printing Reference
    • Tutorials
    • Troubleshooting and support
    • Z and I Emulator for Web Helps

Arithmetic operators and expressions

In order to use arithmetic expressions you must first check the "Use Variables and Arithmetic Expressions in Macro" checkbox on the Macro tab (see Representation of strings and special characters, treatment of operator characters).

  • Operators and expressions
  • Where arithmetic expressions can be used
  • Share: Email
  • Twitter
  • Disclaimer
  • Privacy
  • Terms of use
  • Cookie Preferences