Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] "Assignment" "Expressions"
- Date: Tue, 3 Jul 2018 21:53:21 +0900
- From: Benjamin Kowarsch <trijezdci@example.com>
- Subject: Re: [tlug] "Assignment" "Expressions"
- References: <fc6c1710-195a-d818-dd69-e394154c48a9@gmail.com> <20180701233248.6ct2q67n7slaiufq@logarithmic.cjs.cynic.net> <CAFNLyStQ8ft2yiO6tSticSP_kfVvUtnYvJE-FhxSYTxL_Pot2w@mail.gmail.com> <20180702063051.33hs7wgx25n5pxme@fluxcoil.net> <23355.11387.951699.98055@turnbull.sk.tsukuba.ac.jp> <20180703122516.rjzspoipgzu32qau@iambic.cynic.net>
On 3 July 2018 at 21:25, Curt Sampson <cjs@example.com> wrote:On 2018-07-03 16:57 +0900 (Tue), Stephen J. Turnbull wrote:
> 6. People who have used professionally languages that have assignment
> expressions (pure functional languages excluded) need not
> apply. ;-)Did you not mean to include assignment statements?Some languages have assignment statements, but do not permit assignment within expressions.For example Pascal has an assignment statementx := 0but does NOT permit assignment within an _expression_if x := 0 then ... (* invalid *)while C has an assignment _expression_x=0which is why you can doif (x=0) { ... /* valid */In Pascal, the := assignment symbol is punctuation, not an operator. In C, the = assignment symbol is an operator.
- References:
- [tlug] OT: Part-Timers Sought
- From: CL
- Re: [tlug] OT: Part-Timers Sought
- From: Curt Sampson
- Re: [tlug] OT: Part-Timers Sought
- From: AbH Belxjander Draconis Serechai
- Re: [tlug] OT: Part-Timers Sought
- From: Christian Horn
- Re: [tlug] OT: Part-Timers Sought
- From: Stephen J. Turnbull
- [tlug] "Assignment" "Expressions"
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] fanless pcs
- Next by Date: Re: [tlug] fanless pcs
- Previous by thread: [tlug] "Assignment" "Expressions"
- Next by thread: [tlug] "Assignment" "Expressions"
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links