Imports Microsoft.VisualBasic
Imports System
Public Class MainClass
Public Shared Sub Main()
Calculator(System.Environment.GetCommandLineArgs())
End Sub
Public Shared Function Calculator(args() As String) As Integer
If args.Length < 2 Then
Console.WriteLine("usage: TIPCALC total")
Return 1
End If
End Function
End Class
|