What is the difference between:
Dim a
and
Dim a%
What is the difference between:
Dim a
and
Dim a%
The percent symbol is ancient BASIC syntax for "varname is an integer".
"The last character of the name can be a dollar sign ($) to indicate a string variable or a percent sign (%) to indicate an integer variable."
This has been around for a very long time in the history of the BASIC family, and is supported in Visual Basic.NET (although it is no longer recommended - it can be rather obscure, as you have found.)
Would you like to say thanks? Please click the: "Add Reputation" button, on the grey bar below the post.
AH you are amazing!!! I searched the web for a good hour and couldnt find any information on it. You definately deserve that Forum Expert title![]()
Thanks again!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks