Code eg: Multiplication of two variables.
' Declare variables
Dim TotalDamage As Integer = 555
Dim TotalAgility As Integer = 6
' Create the expression
Dim TotalPoints As Integer = TotalDamage * TotalAgility
The expression in this example will evaluate to 3330.
No comments:
Post a Comment