CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 1999
    Posts
    1

    VB Evaluation Function



    Hello Guys;


    I was wondering if anyone has seen or written a vb math evaluation function. I'm hoping I dont need to buy it from a 3rd party guy.


    The function that I require goes like this :


    Dim x, y

    x = 1

    y = 2


    z = " x + y "


    I need a function that will evaluate the above expression. Please do reply, I need to complete my project soon. As for now I have managed to use the SQL statement to evalute string expression :


    eg. "Select " & z & " as z form table1"


    regards. Help URGENT!!!!!!!!!!!!!!!!



  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: VB Evaluation Function



    Hi


    Take a look at http://www.softcircuits.com. They have a code example for processing evaluations. It shows how to do simple maths, and can be expanded to do pretty much anything (if you understand how it works)


    Regards


    Chris Eastwood



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured