' 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
We've got source code highlighting!
We've got source code highlighting!
Just click the 'gb' button and type some code inbetween, or the 'highlight' button for other languages. Most common languages are supported!
You do not have the required permissions to view the files attached to this post.
Re: We've got source code highlighting!
In order to be able to have plain text URLs inside code, and not have them parsed by the forum and turned into HTML, remember to tick off "Do not automatically parse URLs", below the editor, before posting.
Re: We've got source code highlighting!
'---
'--- Thanks for the tip!
'--- This is really useful!
FMain_Resize()
FMain.TextArea1.Text="This is awsome!"
FMain.TextArea1.Foreground="&H00FF00"
Oooooh my God! That looks fabulous!“The only thing necessary for the triumph of evil is for good men to do nothing.”― Edmund Burke;
It's easy to die for an idea. It is way harder to LIVE for your idea! (Me)
It's easy to die for an idea. It is way harder to LIVE for your idea! (Me)