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

Passing Functions in Inputs



PureBytes Links

Trading Reference Links

-- [ From: Larry McBride * EMC.Ver #2.5.3 ] --

In a message from Bill Brower a while back, he wrote:

>3) The biggest and most drastic action, without using GV's is to use a
>heretofor undisclosed trick of feeding a large function in as an input
and
>then passing the input to an IncludeSystem which can then perform
futher
>analysis.  The Calling system can be right near the 64K barrier and so
can
>the IncludeSystem.  This way you can build systems much larger than 64K
..

Passing functions like this seems to work well, whether or not you also
use an Include statement, but I don't think I can do what I'd really
like to do.  That would be to pass in a function as an input with
arguements that are parameters that can also be passed in as inputs. If
this were possible, then the optimizer could be used to vary the
parameters of the function.  What it seems like, however, is that if one
passes a function in as an input it  can only utilize arguements that
can be fully evaluated when the input is edited.  These arguements can
not reference another input also being passed into the system.  Is this
correct?  Is there any way around it?  The additional flexibililty would
be very powerful.  

Thanks for any insights.

Larry