by XIV14 (1 Submission)
Category: Math/Dates
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Tue 24th August 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)
ADDING/SUBTRACTING/MULTIPLYING/DIVISION
API Declarations
'have fun mathemetically insane student!
Function Add(Val As Integer, Val2 As Integer) As Integer
On Error Resume Next
Add = Val + Val2
End Function
Function Subtract(Val As Integer, Val2 As Integer) As Integer
On Error Resume Next
Subtract = Val - Val2
End Function
Function Multiply(Val As Integer, Val2 As Integer) As Integer
On Error Resume Next
Multiply = Val * Val2
End Function
Function Division(Val As Integer, Val2 As Integer) As Integer
Division = Val / Val2
End Function