Liste des Groupes | Revenir à cl c |
Michael S <already5chosen@yahoo.com> writes:
On Fri, 6 Sep 2024 10:35:16 +0100
Bart <bc@freeuk.com> wrote:
On 05/09/2024 22:37, James Kuyper wrote:>
On 9/5/24 12:54, Kaz Kylheku wrote:>
On 2024-09-05, Waldek Hebisch <antispam@fricas.org> wrote:>
...
>You seem to miss the point that assigment operator is>
fundamentally assymetic.
Both sides of an assignment can be complex expressions that
designate an object (though the right side need not).
So you've correctly identified the very fundamental asymmetry.
Sure, if you want to completely disregard all the cases where the
symmetry does exist.
>
That means that for you, there is no interesting difference (using
my example of assigning A to itself) in a language where you write
'A = A', and one where you write 'A = .A'.
>
(I'd be interested in how, in the latter language, you'd write the
equivalent of 'A = A = A' in C, since the middle term is both on
the left of '=', and on the right!)
The point is that in BLISS everithing that is legal on the right
side of asignment is also legal on the left side.
I don't know if the point is generally true. In particular, if
BLISS supports floatig point, what is meaning of floating point on
the left side?
BLISS is word based and typeless. On a PDP-10, doing a
.pi = 0
where 'pi' holds a 36-bit floating-point value (and 3.14159...
presumably), that floating-point value would be used as an
address and 0 would be stored into it (assuming I remember
BLISS correctly).
So probably not what one wants to do. ;)
Les messages affichés proviennent d'usenet.