We've got source code highlighting!

Post Reply
User avatar
jornmo
Site Admin
Posts: 93
Joined: Wednesday 21st September 2016 1:19pm
Location: Norway

We've got source code highlighting!

Post by jornmo » Sunday 12th March 2017 2:01pm

Just click the 'gb' button and type some code inbetween, or the 'highlight' button for other languages. Most common languages are supported!

' 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
    Print "Usage: NeHeTutorial Example<N> <Title>"
  Endif

End

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest