Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: include Expression Up: Expressions Previous: Event Expressions


Precedence

Glish operators for the most part take their precedence from C, with a few additions. Table 4.6 summarizes the precedence and associativity; entries at the top have highest precedence, those at the bottom lowest. Parentheses can always be used to override precedence and associativity.


Table 4.6: Operator Precedence and Associativity, Highest to Lowest
Operators Associativity
., [], (), :: left
!, unary + and - none
: none
ref, const, val none
^ right
*, /, % left
+, - left
==, !=, <, <=, >, <= none
& left
| left
&& left
|| left
function none
:= right


next up previous contents index
Next: include Expression Up: Expressions Previous: Event Expressions   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15