Results 1 to 8 of 8

Thread: How do I make code look like code in posts?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2000
    Posts
    350

    Question How do I make code look like code in posts?

    I can't figure how to make VB code look like VB code in these posts, ie the comments in green and so on

    Please can someone elucidate please?
    .

  2. #2
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    Hi Jim
    You have to seek special permission from the administrator and provide a 1000 word explanation as to why you deserve to be able to do this. He will then provide you with a trial program which will allow you to make blue keywords but not green comments. If, after 2 weeks, you have not abused the system you will be granted use of both blue and green. These privileges can be revoked at any time. I will send you my 1000 word essay if i can find it.
    Regards
    Stuart
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  3. #3
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    A sneaky alternative is to use the following.
    Type "[" then "vbcode" then "]" at the beginning of code.
    I cant show it here or it will appear as code. [vbcode ] no space

    To end ur code do
    "[/" then "vbcode" then "]" or [/vbcode ] no space
    Regards
    Stuart
    PS How is ur essay going?
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2000
    Posts
    350

    What, like this....

    Testing to see if the following looks like code...

    VB Code:
    1. 'here's a comment
    2. for i = to 10
    3. next i
    4. 'and another comment

    I had that bloody essay nearly finished before I saw your second reply. Damn!- didn't realise you were joking!
    .

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2000
    Posts
    350

    Well, that was easy!

    Thanks Stuart.
    .

  6. #6
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    They only gave u green!!!! Get back to the essay
    VB Code:
    1. For Jim = Green to Blue
    2.     Print "Give Jim Blue" 'Please Help Him
    3. Next
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  7. #7
    Originally posted by beachbum
    A sneaky alternative is to use the following.
    Type "[" then "vbcode" then "]" at the beginning of code.
    I cant show it here or it will appear as code. [vbcode ] no space

    To end ur code do
    "[/" then "vbcode" then "]" or [/vbcode ] no space
    Regards
    Stuart
    PS How is ur essay going?
    Or you can cheat and do this: [vbcode][/vbcode]. Magic!

  8. #8
    Banned aknisely's Avatar
    Join Date
    Jul 2001
    Location
    America-lite (Canada)
    Posts
    160
    *gasp*


    But....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width