Posting source codes on WordPress

This is visual basic.

Private Function TempPath() As String
  Const MaxPathLen = 256 'Max length of the path, just as big as possible
  Dim FolderName As String 'Name of the folder
  Dim ReturnVar As Long 'Return Value
End Function

To do so, you need to wrap the code between [‌‌‌‌‌sourcecode language="vb"] and [/sourcecode]. It supports the following languages.

  • actionscript3
  • bash
  • coldfusion
  • cpp
  • csharp
  • css
  • delphi
  • erlang
  • fsharp
  • diff
  • groovy
  • javascript
  • java
  • javafx
  • matlab (keywords only)
  • objc
  • perl
  • php
  • text
  • powershell
  • python
  • r
  • ruby
  • scala
  • sql
  • vb
  • xml

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: