Hannu Krosing wrote:
Can you do something like "A > (B := C)" or "IF (A:=B) THEN ..." in ADA ?
Er, that's "Ada"; "ADA" is the American Dental Association among other things.
And no you certainly can't do it. Assignment is a statement, not an expression, and this family of languages distinguishes between the two quite sharply. This is quite different from, say, C, where an assignment statement is simply an expression whose evaluation has a side effect and whose value is thrown away.
Anyway, this discussion seems to going nowhere much. cheers andrew ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings