48 lines
1.3 KiB
HTML
48 lines
1.3 KiB
HTML
<HTML>
|
|
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
|
|
<BODY>
|
|
|
|
[<<Previous Entry]
|
|
<A HREF="ng34ce6.html">[^^Up^^]</A>
|
|
<A HREF="ng35173.html">[Next Entry>>]</A>
|
|
<A HREF="menu.html" >[Menu]</A>
|
|
<A HREF="info.html">[About The Guide]</A>
|
|
<HR>
|
|
<PRE>
|
|
<B>Precedence Operator Precedence in BASIC</B>
|
|
|
|
<B> Operator Precedence</B>
|
|
|
|
<B>Highest:</B> ^
|
|
- (negation)
|
|
* /
|
|
\
|
|
MOD
|
|
+ -
|
|
= <> < > <= >=
|
|
NOT
|
|
AND
|
|
OR
|
|
XOR
|
|
EQV
|
|
<B>Lowest: </B>IMP
|
|
|
|
|
|
Operators have an inherent precedence. In the absence of explicit
|
|
grouping (through parentheses), an expression is evaluated in the
|
|
order dictated by this inherent precedence. Operators of the same
|
|
precedence level are evaluated in left-to-right order.
|
|
|
|
All function calls in an expression are evaluated <U>before</U> any
|
|
operators.
|
|
|
|
</PRE>
|
|
<HR>
|
|
<B>See Also:</B>
|
|
<HR>
|
|
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
|
|
Written by <A HREF="http://www.acemake.com/hagbard">Dave Pearson</A>
|
|
<HR>
|
|
</BODY>
|
|
</HTML>
|