1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Changing constants in visual basic

Discussion in 'Visual Basic ( VB )' started by jessieros, Apr 27, 2010.

  1. jessieros

    jessieros New Member

    I am putting together a little programme to calculate VAT. I don't want to enter the current rate every time, so I have declared its value to be a constant.
    However, I would like to have an option to change it if the rate is changed. Is there any way of doing it from within the programme rather than having to change the code?
    When I try to do so via assignment I get an error message!
    Any suggestions gratefully received!
     
  2. MARVELOUS MUGARI

    MARVELOUS MUGARI New Member

    i think you have to put another algorythm:thinking:
     

Share This Page