Video Screencast #3: Variables (Part 2)

This week’s video continues the discussion of variables and into the topic of recursion. The compoundValue function is also explained and its use with the rec statement.

First Half:

Second Half:

This entry was posted in Tutorial and tagged , , , , , , , , , . Bookmark the permalink.

4 Responses to Video Screencast #3: Variables (Part 2)

  1. FellowTSer says:

    I was having a hard time grasping the recursion before this video. The most useful parts for me are the recap/explanation of each line you just wrote in an easy to follow manner. Looking forward to the next video. Thanks again.

  2. Tony BenBrahim says:

    plot swingHigh = if lastTop!=0 then lastTop else double.NaN;
    plot swingLow = if lastBottom!=0 then lastBottom else double.NaN;

    to avoid plotting 0 at the start of the chart

  3. Dakker says:

    Thanks again. Clear, logical presentation. You sure you don’t want to write a book?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>