[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uncle Bob Responds



PureBytes Links

Trading Reference Links

> Earl - Are you saying that if you can find a way to bypass the semi-colon
> limitation in SC4 by using nested statements - then you're ok?  Are there ways to
> bypass the semi-colon limitation using something other than nested statements?
> Robyn

> Don't have the time right now to write it, but a quick scan suggests that it
> could be easily written as a function using nested "iff" statements e.g.
> iff(cond,iff(cond,true, false) , iff(cond,true, false) ) statements - same
> conditional syntax as Excel. Define the function as a series function and you
> can check the previous period value of the function - often eliminates the need
> for variables. Too complex for one function, break it into several. A complex
> system can be written in QE (I've done some complex QE functions nested 6-8
> levels deep) but it's a _lot_ easier to do in PE and the really complex systems
> can only be done in PE.
>
> Earl