Advertisement

How do I make my code format properly?

Started by February 19, 2011 09:33 PM
1 comment, last by Alpha_ProgDes 13 years, 7 months ago
[code lang="vb"]
public sub testMe ()
'I am a comment
end sub


As you can see... it's not working. Isn't there a "how-to" page here?

Beginner in Game Development?  Read here. And read here.

 

Yep. Go to the post editing/writing page, and click on the "help" icon. Surprisingly, it's actually helpful (unlike most programs)!


helppic.png

Not sure if it answers your question though - it didn't look like it does. I'd try [ code ] [ /code ] and see if it can automatically sense if it's visual basic.
Advertisement

public sub testMe ()
'I am a comment
end sub


Yes, but not very well in the standard theme (bottom line is considered a comment as well). Same problem in GDNet Black and Classic Black as well (but uglier colors).

Beginner in Game Development?  Read here. And read here.

 

This topic is closed to new replies.

Advertisement