Example - Exp Function
Sub Main ()
' Exp(x) is e ^x so Exp(1) is e ^1 Or e.
Dim Msg, ValueOfE ' Declare variables. ' Calculate value of e.
ValueOfE = Exp(1)
Msg = "The value of e is " & ValueOfE
MsgBox Msg ' Display message.
End Sub