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 
DOLIST/DOSUBS Equivalent?
07-06-2015, 05:28 PM
Post: #1
DOLIST/DOSUBS Equivalent?
The 50G has useful list-processing commands like DOSUBS and DOLIST.

It doesn't appear these (or something similar) exist in the Prime (see Chapter 25 of the Prime manual). Of course, some tasks (like computing moving averages for n elements of a list) can be achieved with seq (although that is a CAS command, but can be used in Home programs with CAS("seq( . . . )). And the users can always program their own specific application of list processing. But the beauty about DOLIST, for example, was that it could take operators and/or programs as arguments and was universal.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
DOLIST/DOSUBS Equivalent? - Helge Gabert - 07-06-2015 05:28 PM
RE: DOLIST/DOSUBS Equivalent? - Arno K - 07-07-2015, 06:12 PM
RE: DOLIST/DOSUBS Equivalent? - Arno K - 07-08-2015, 07:34 AM



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