The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Understanding DOLIST
10-05-2016, 06:22 PM
Post: #1
Understanding DOLIST
I was trying to understand DOLIST command with an example I found in the web:

{1 2 3}
{4 5 6}
{7 8 9}
3
<<+ *>>

Number 3 is the number of lists, as explained in the example.

The answer is {11 26 45}

I understand the calculator is doing this:
(7+4)*1=11
(8+5)*2+=26
(9+6)*3=45

But if I change 3 and put 2, the answer is:
{2145 4290 6435}

Can you explain what is the procedure the calculator is doing?

Thanks

Luis
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Understanding DOLIST - LGVE - 10-05-2016 06:22 PM
RE: Understanding DOLIST - wojtek - 10-05-2016, 08:56 PM
RE: Understanding DOLIST - Juan14 - 10-05-2016, 11:09 PM
RE: Understanding DOLIST - Werner - 10-06-2016, 06:54 AM
RE: Understanding DOLIST - LGVE - 10-06-2016, 01:50 PM



User(s) browsing this thread: 1 Guest(s)