Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() '// Overload for two numbers uc.DefineFunction("Combine(x, y) = x + y") '// Overload for two strings uc.DefineFunction("Combine(x As String, y As String) As String = x + y") '// Overload for three numbers uc.DefineFunction("Combine(x, y, z) = x + y + z") Console.WriteLine($"Two numbers: {uc.EvalStr("Combine(5, 10)")}") Console.WriteLine($"Two strings: {uc.EvalStr("Combine('Hello, ', 'World!')")}") Console.WriteLine($"Three numbers: {uc.EvalStr("Combine(5, 10, 20)")}") End Sub End Module