I'm writing VB.NET code that controls an on-stream X-ray analyzer for
determining elemental concentrations in slurry. The program retrieves X-ray
peak intensity values and evaluates a regression model to determine the
particular elemental concentration. Previously, I have done this in VB6 by
writing a mathematical parsing routine which can correctly evaluate an
expression like R0+R1*I[Fe]+R2*I[Cu]+R3*I[Mo]. The problem is, there are
occasions where I would like to have a bit more flexibility and include
IF...THEN type constructs and other programming elements.
So, is there a way in VB.NET to process small amounts of VB script code?
Even nicer, the ability to provide access to a particular scope of
variables. I know MS at one time licensed VBScript but it seemed like a lot
of overkill for what I'm looking to do.
Thanks
Dave Taylor
PERI