Post Reply 
48: Moving average with DOSUBS
06-12-2015, 03:03 PM
Post: #3
RE: 48: Moving average with DOSUBS
(06-12-2015 02:55 PM)Werner Wrote:  ? But it does work, and DOSUBS has no issues with local variables being in the executable object..
{ 1 2 3 } 2 MAVG returns { 1.5 2.5 } as it should
BTW you don't need to include L in your local environment

Code:
MAVG:
\<< \-> N
  \<< N \<< N \->LIST AVG \>> DOSUBS \>>
\>>

Cheers, Werner

Alright, that's weird... At first, I was getting "DOSUBS Error: Invalid User Function". Not sure what bizarre typo was leading to that.

Anyway, if anybody knows how to modify programs and convert them to/from lists, I'd still find that useful.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 48: Moving average with DOSUBS - Dave Britten - 06-12-2015 03:03 PM



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