constants

Constants

In this tutorial, I’m going to show you how to use constants. In the real world, there lots of value that never changes like a Day it is always a 24 hour, and a sqaure has always four equal sides. This value remains constant. It refers to a fixed value that the program may not alter during its execution. The constants are just like regular variables except that their values cannot bit modified after their definition.

Constants Declaration

To declare constant using visual basic, use “Const” statement.