Article View: alt.folklore.computers
Article #623802Re: The dictionary definition of recursion
From: Andrew Swallow
Date: Tue, 05 Jun 2018 14:28
Date: Tue, 05 Jun 2018 14:28
16 lines
2078 bytes
2078 bytes
On 04/06/2018 17:16, Gareth's Downstairs Computer wrote: > Recursion : see recursion. > > As a recursive "elegant" solution, > > factorial (1,000,000) is likely to > crash most systems Factorial is a simple loop. 10 INPUT N 20 LET F = 1 30 FOR I = 1 TO N 40 F = F * I 50 NEXT I 60 PRINT N,"! is ",F
Technical Details
Message-ID:
<L9Sdnc69nM-WA4vGnZ2dnUU78RvNnZ2d@giganews.com>Path:
mbox-mo1.pugleaf.net!n13-v6ni5137wmc.0!nntp.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder.ecngs.de!border1.nntp.ams1.giganews.com!nntp.giganews.com!buffer1.nntp.ams1.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<pf3oke$hq8$1@dont-email.me>Show Full Headers
Complete Article Headers
X-Received: by 2002:adf:9d84:: with SMTP id p4-v6mr1601777wre.32.1528208909494; Tue, 05 Jun 2018 07:28:29 -0700 (PDT) X-BeenThere: alt.folklore.computers@googlegroups.com Received: by 2002:adf:fb4d:: with SMTP id c13-v6ls1707358wrs.8.gmail; Tue, 05 Jun 2018 07:28:28 -0700 (PDT) X-Received: by 2002:adf:d842:: with SMTP id k2-v6mr2003889wrl.22.1528208908730; Tue, 05 Jun 2018 07:28:28 -0700 (PDT) Path: mbox-mo1.pugleaf.net!n13-v6ni5137wmc.0!nntp.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder.ecngs.de!border1.nntp.ams1.giganews.com!nntp.giganews.com!buffer1.nntp.ams1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 05 Jun 2018 09:28:27 -0500 Subject: Re: The dictionary definition of recursion Newsgroups: alt.folklore.computers References: <pf3oke$hq8$1@dont-email.me> From: Andrew Swallow <am.sw...@btinternet.com> Date: Tue, 5 Jun 2018 15:28:27 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <pf3oke$hq8$1@dont-email.me> Message-ID: <L9Sdnc69nM-WA4vGnZ2dnUU78RvNnZ2d@giganews.com> Lines: 17 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-ribQQdoRflf+0bQd2jCsERr66Z+vsKlIjGDM0EvasOBit2+Oj9biEO6C8aK7ze3sCRkt8usdFQLkkTX!TdpA41w2UVX5W4t+p4aMeflt3BynEcoQ/Rb3ZRdyhttaHnWnaDPwY8VVgvAV+rObH6IMCycwdZc= X-Complaints-To: ab...@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 1574 X-Original-Bytes: 1512 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit