Jump to main content
IBM Logo Product Documentation
  • Products
  • Support
IBM Host On-Demand V16.0
  1. Home icon
  2. Welcome
  3. Macro Programming Guide
  4. Developing macros
  5. Data types, operators, and expressions
  6. Arithmetic operators and expressions

  • Welcome
  • IBM Host On-Demand Version 16.0 Readme
  • Planning, Installing, and Configuring Host On-Demand
  • Migrating Host On-Demand
  • HOD Hex Client
  • PH000M02
  • Web Express Logon Reference
  • Host Printing 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
  • SessionManagerAPI
  • Host Access Toolkit
  • Tutorials
  • Troubleshooting and support
  • Host On-Demand Helps
 Feedback

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