gambas-source-code/app/examples/OpenGL/NeHeTutorial/.src/MMain.module

18 lines
308 B
Text
Raw Normal View History

' Gambas module file
Public Title As String
Public Sub Main()
Dim hClass As Class
If Application.Args.Count >= 2 Then
Title = Application.Args[2]
hClass = Class.Load(Application.Args[1])
Object.Call(hClass, "Main")
Else
2019-05-20 04:29:48 +02:00
Print ("Usage: NeHeTutorial Example<N> <Title>")
Endif
End