Update of /cvsroot/agd/server/doc/lpc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9528/doc/lpc
Modified Files:
operators
Log Message:
Reformatting; x= operators
Index: operators
===================================================================
RCS file: /cvsroot/agd/server/doc/lpc/operators,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- operators 18 Mar 2004 20:50:16 -0000 1.3
+++ operators 20 Mar 2004 19:14:46 -0000 1.4
@@ -5,11 +5,11 @@
-- unary decrement * (F_POSTDEC, F_PREDEC)
++ unary increment * (F_POSTINC, F_PREINC)
('a x= b' is equal to 'a = a x b')
- += binary self-increment
- -= binary self-decrement
- /= binary self-division
- *= binary self-multiplication
- %= binary self-modulo
+ += binary self-increment *
+ -= binary self-decrement *
+ /= binary self-division *
+ *= binary self-multiplication *
+ %= binary self-modulo *
comparison:
== binary equal * (F_EQ)
@@ -26,11 +26,14 @@
misc:
-> binary call_other * (F_CALL_OTHER)
- note: This is different from C's ->. in LPC it calls a function in an object other than
- the current object; i.e. ob->call() would execute the function call() in object ob.
+ note: This is different from C's ->.
+ in LPC it calls a function in an object other than
+ the current object; i.e. ob->call() would execute
+ the function call() in object ob.
?: trinary conditional (if-then-else) *
- , binary comma - left and right side are evaluated, then right side discarded.
- [] (F_RANGE)
+ , binary comma - left and right side are evaluated,
+ then right side discarded.
+ [] * (F_RANGE)
arithmetic:
+ binary addition * (F_ADD)
@@ -39,7 +42,7 @@
/ binary division *(F_DIV)
* binary multiplication *(F_MUL)
% binary modulo * (F_MOD)
- ** power
+ ** binary power
binary:
&
|