6. Literals, Operators, and Expressions

  1. Peter Fritzson

Published Online: 13 OCT 2010

DOI: 10.1002/9780470545669.ch6

Principles of Object-Oriented Modeling and Simulation with Modelica 2.1

Principles of Object-Oriented Modeling and Simulation with Modelica 2.1

How to Cite

Fritzson, P. (2004) Literals, Operators, and Expressions, in Principles of Object-Oriented Modeling and Simulation with Modelica 2.1, John Wiley & Sons, Inc., Hoboken, NJ, USA. doi: 10.1002/9780470545669.ch6

Publication History

  1. Published Online: 13 OCT 2010
  2. Published Print: 7 JAN 2004

ISBN Information

Print ISBN: 9780471471639

Online ISBN: 9780470545669

SEARCH

Keywords:

  • character set;
  • literal constants;
  • operator precedence;
  • expression type;
  • constant expressions

Summary

This chapter contains sections titled:

  • Character Set

  • Comments

  • Identifiers, Names, and Keywords

  • Predefined Types

  • Literal Constants

  • Operator Precedence and Associativity

  • Order of Evaluation

  • Expression Type and Conversions

  • Variability of Expressions

  • Arithmetic Operators

  • Equality, Relational, and Logical Operators

  • Miscellaneous Operators

  • Built-in Intrinsic Mathematical Functions

  • Built-in Special Operators and Functions

  • Summary

  • Literature

  • Exercises