C
C P
I'm converting part of a Win32 app that evaluates some mathematical
expresions at runtime. For example "SUM( @10001@, @10002@, @10003@)" is an
expression stored in a table's record, where 10001, 10002, 10003 are id's of
records in a specific table. I want to grab the associated values for those
ID's, then evaluate the Sum of them. I can substitute in the values of for
the ID's easily enough. However I haven't found anything in the .NET
framework yet that will allow (or help) me evaluate the Sum. To try and be
more clear, I can convert "SUM( @10001@, @10002@, @10003@)", to "SUM(
5,3,NULL)", easily enough, but I'm looking for something that will help me
get the sum of 5,3,NULL. Any suggestions for classes to look at?
Thanks,
Chris
expresions at runtime. For example "SUM( @10001@, @10002@, @10003@)" is an
expression stored in a table's record, where 10001, 10002, 10003 are id's of
records in a specific table. I want to grab the associated values for those
ID's, then evaluate the Sum of them. I can substitute in the values of for
the ID's easily enough. However I haven't found anything in the .NET
framework yet that will allow (or help) me evaluate the Sum. To try and be
more clear, I can convert "SUM( @10001@, @10002@, @10003@)", to "SUM(
5,3,NULL)", easily enough, but I'm looking for something that will help me
get the sum of 5,3,NULL. Any suggestions for classes to look at?
Thanks,
Chris