PROGRAM TO ADD TWO INTEGERS:
Sub CATMain()
Dim intA As Integer
Dim intB As Integer
Dim intC As Integer
intA = 2
intB = 3
intC = intA + intB
Dim strOutput As String
strOutput = "The sum is " & Str(intC)
Dim response As Integer
response = MsgBox("Do you want to display the sum?", vbYesNo, "Display Sum")
If response = vbYes Then
MsgBox strOutput
End If
End Sub
Download
0 formats
No download links available.
CATIA MACRO PROGRAM TO ADD TWO INTEGERS: | NatokHD