Re: Arithmetic expression: recursive VAR evaluation suppresses desired V
From:
Steffen Nurpmeso
Subject:
Re: Arithmetic expression: recursive VAR evaluation suppresses desired VAR assignment
Date:
Thu, 11 Aug 2022 18:46:41 +0200
User-agent:
s-nail v14.9.24-285-gae76455589
Robert Elz wrote in
<16667.1660234219@jacaranda.noi.kre.to>:
| Date: Thu, 11 Aug 2022 16:22:12 +0200
| From: Steffen Nurpmeso <steffen@sdaoden.eu>
| Message-ID: <20220811142212.JhlPJ%steffen@sdaoden.eu>
|
|
|||> Hm. Well i agree that precedence rules which loose a construct
|||> completely (in that =5 is lost in I=5?I:J) is weird, but other
|
|I seem to have lost/missed whatever message that was originally in, but
|nothing is lost there
|
| I=5?I:J
|is
| I = ( 5 > I : J )
|
|and since 5 is true, that amounts to
|
| I = I
|
|There's nothing weird about that at all, no more than
|
| 3+2 * 7
|
|giving 17, rather than 35 is weird. Precedence matters.
Yes. Confusion. Nothing but confusion. And not waiting for
settlement.
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)