Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #32441

Re: Logic problem, i always had problem translate until statements into while

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Tim Streater <timstreater@greenbee.net>
Newsgroups comp.lang.javascript
Subject Re: Logic problem, i always had problem translate until statements into while
Date Wed, 01 Feb 2017 19:09:27 +0000
Lines 41
Message-ID <010220171909277917%timstreater@greenbee.net> (permalink)
References <7112e5ec-cc6f-4b7b-b7db-b83b52bf8fbe@googlegroups.com> <87inp11s6w.fsf@bsb.me.uk> <36a74771-51d8-439a-bd1a-0c7338031b9c@googlegroups.com> <10dc87b2-3078-4b1d-a914-0461db1c80a6@googlegroups.com> <87sho5zaj9.fsf@bsb.me.uk> <74b7c25f-9f8f-4bc5-8380-9cb6e6e8bd1e@googlegroups.com> <87k29gzrxo.fsf@bsb.me.uk> <2c773886-ea14-44a9-9ee4-326769db8be7@googlegroups.com> <87a8acvw9e.fsf@bsb.me.uk> <147627b2-8230-403c-92a5-fad29f9585db@googlegroups.com> <87a8abus4b.fsf@bsb.me.uk> <1612792.atdPhlSkOF@PointedEars.de> <cbf2e308-f5d6-4adf-a4a3-49249ff239f5@googlegroups.com> <b5537f24-a5ed-4801-b2e3-38e2e09d8bc2@googlegroups.com> <1dbcb59b-d06e-4519-a9da-e84aa9826a40@googlegroups.com> <fd8417c9-f34f-4d23-809b-0bc0d388c9ae@googlegroups.com> <XnsA70FC483D368Feejj99@194.109.6.166> <010220171835335910%timstreater@greenbee.net> <XnsA70FC8256AFF8eejj99@194.109.6.166> <010220171906407887%timstreater@greenbee.net>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace individual.net pLQI4jKUINtiFYw/RgUcXAlzDbMU43rJ7v6auFzaMTJ4sCiPJB
X-Orig-Path timstreater
Cancel-Lock sha1:RZwisv0XDZ1/yikl+UvNh5Kjrbo=
Mail-Copies-To nobody
User-Agent Thoth/1.9.1 (Mac OS X)
X-No-Trace yes
X-No-Archive yes
X-Face "[^yYK92E9|LVD+Av;Fa,giW>Pb"sKU%_`r0#U!ev`>CN2z}$mY(LO@{)-Mo1 )]#\pO1*O.$hdJl67V?e*J6`nb]cCpJ5<<e&qJ+e+,TI|2/F\d`C#*a*9d^?WOq'H.*% V?'C+Fi^W-l)f"Ru5V("V~M:yU/Y"W3F[O!t|M1+Q&_.LEV>ZRWNth$Kw0j3f8lz:H9T N5[T'*t:]%pcYSZM
Xref csiph.com comp.lang.javascript:32441

Show key headers only | View raw


In article <010220171906407887%timstreater@greenbee.net>, Tim Streater
<timstreater@greenbee.net> wrote:

>In article <XnsA70FC8256AFF8eejj99@194.109.6.166>, Evertjan.
><exxjxw.hannivoort@inter.nl.net> wrote:
>
>>Tim Streater <timstreater@greenbee.net> wrote on 01 Feb 2017 in 
>>comp.lang.javascript:
>>
>>> In article <XnsA70FC483D368Feejj99@194.109.6.166>, Evertjan.
>>> <exxjxw.hannivoort@inter.nl.net> wrote:
>>> 
>>>>jonas.thornvall@gmail.com wrote on 01 Feb 2017 in comp.lang.javascript:
>>> 
>>>>>     if (connected == param2 && regular == param1)  {found=true;} 
>>>>>     return found; 
>>>>
>>>>use:
>>>>
>>>>return connected == param2 && regular == param1;
>>> 
>>> This is not needed as he does not use the returned value.
>>
>>I have no idea what the definition of "use" is in Jonas' case,
>>as he mainly just answers himself.
>
>Upthread he has this:
>
>generate_graph(param1,param2); 
>} 
> 
>function generate_graph(){ ...
>
>so as I say, he is not using the returned value. Thus, the
>return-with-value is unnecessary.

Actually it's worse than that. He's not even managing to pass
parameters through.

-- 
HAL 9000:    Dave.  Put down those Windows disks.  Dave.  DAVE!

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-26 10:39 -0800
  Re: Logic problem, i always had problem translate until statements into while Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-01-26 20:28 +0000
    Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-26 13:24 -0800
      Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-26 13:33 -0800
        Re: Logic problem, i always had problem translate until statements into while Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-01-26 23:06 +0000
          Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 01:33 -0800
            Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 01:57 -0800
              Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 02:17 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 02:35 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 02:39 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 02:43 -0800
                Re: Logic problem, i always had problem translate until statements into while Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-01-27 11:23 +0000
                Re: Logic problem, i always had problem translate until statements into while Tim Streater <timstreater@greenbee.net> - 2017-01-27 12:14 +0000
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 08:00 -0800
                Re: Logic problem, i always had problem translate until statements into while Gene Wirchenko <genew@telus.net> - 2017-01-27 09:29 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 10:43 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 10:44 -0800
                Re: Logic problem, i always had problem translate until statements into while Gene Wirchenko <genew@telus.net> - 2017-01-27 15:46 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 18:20 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 18:34 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 18:51 -0800
                Re: Logic problem, i always had problem translate until statements into while John Harris <niam@jghnorth.org.uk.invalid> - 2017-01-28 10:07 +0000
                Re: Logic problem, i always had problem translate until statements into while Gene Wirchenko <genew@telus.net> - 2017-01-30 09:14 -0800
                Re: Logic problem, i always had problem translate until statements into while "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-28 10:48 +0100
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-28 05:05 -0800
                Re: Logic problem, i always had problem translate until statements into while "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-27 13:43 +0100
                Re: Logic problem, i always had problem translate until statements into while Scott Sauyet <scott.sauyet@gmail.com> - 2017-01-27 19:52 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 22:25 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 22:36 -0800
                Re: Logic problem, i always had problem translate until statements into while Scott Sauyet <scott.sauyet@gmail.com> - 2017-01-29 18:05 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-30 09:25 -0800
                Re: Logic problem, i always had problem translate until statements into while Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-01-31 23:12 +0000
                Re: Logic problem, i always had problem translate until statements into while "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-01 09:22 +0100
            Re: Logic problem, i always had problem translate until statements into while Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-01-27 11:02 +0000
              Re: Logic problem, i always had problem translate until statements into while Tim Streater <timstreater@greenbee.net> - 2017-01-27 12:11 +0000
              Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 07:53 -0800
                Re: Logic problem, i always had problem translate until statements into while "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-27 17:07 +0100
                Re: Logic problem, i always had problem translate until statements into while Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-01-28 00:55 +0000
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 18:14 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-27 18:15 -0800
                Re: Logic problem, i always had problem translate until statements into while Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-01-28 15:22 +0000
                Re: Logic problem, i always had problem translate until statements into while Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-28 16:54 +0100
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-28 13:53 -0800
                Re: Logic problem, i always had problem translate until statements into while Tim Streater <timstreater@greenbee.net> - 2017-01-28 22:13 +0000
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-29 01:27 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-01-29 09:41 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-02-01 08:51 -0800
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-02-01 09:03 -0800
                Re: Logic problem, i always had problem translate until statements into while "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-01 19:19 +0100
                Re: Logic problem, i always had problem translate until statements into while Tim Streater <timstreater@greenbee.net> - 2017-02-01 18:35 +0000
                Re: Logic problem, i always had problem translate until statements into while "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-01 19:40 +0100
                Re: Logic problem, i always had problem translate until statements into while Tim Streater <timstreater@greenbee.net> - 2017-02-01 19:06 +0000
                Re: Logic problem, i always had problem translate until statements into while Tim Streater <timstreater@greenbee.net> - 2017-02-01 19:09 +0000
                Re: Logic problem, i always had problem translate until statements into while jonas.thornvall@gmail.com - 2017-02-01 08:51 -0800
                Re: Logic problem, i always had problem translate until statements into while Tim Streater <timstreater@greenbee.net> - 2017-02-01 16:56 +0000
            Re: Logic problem, i always had problem translate until statements into while "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-27 13:36 +0100

csiph-web