參考資訊: https://gambaswiki.org/website/en/main.html main.gambas
Public Sub Main() Print "Hello, world!" End
執行
$ gbs3 -c main.gambas Hello, world!