Ühel kenal päeval, K, 2006-05-17 kell 20:17, kirjutas Jonah H. Harris: > On 5/17/06, Hannu Krosing <[EMAIL PROTECTED]> wrote: > > Does ADA have both assignment and comparison as operators, or is > > assignment a statement ? > > Yes. Assignment is := and comparison is =
I meant to ask, if := is a statement and = is an operator in ADA or are both operators. Statemants and operators are two different language constructs, usable in different places. In C both = and == are operators and results of both can further be used in expressions, in most languages assignment is a statement not an operator, and statements have no result. Can you do something like "A > (B := C)" or "IF (A:=B) THEN ..." in ADA ? -- ---------------- Hannu Krosing Database Architect Skype Technologies OÜ Akadeemia tee 21 F, Tallinn, 12618, Estonia Skype me: callto:hkrosing Get Skype for free: http://www.skype.com NOTICE: This communication contains privileged or other confidential information. If you have received it in error, please advise the sender by reply email and immediately delete the message and any attachments without copying or disclosing the contents. ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster