Announcement

Collapse
No announcement yet.

Using code tags: [Code] 'source code here [/Code]

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using code tags: [Code] 'source code here [/Code]

    Test
    Toggle Advanced Editor ( A ) then click on the # button.
    Insert your formatted source code between the code tags ie between ..code] and [/code..

    Code:
     If blah Then
      blah
     End If
    Rgds, Dave

  • #2
    Toggle Advanced Editor ( A ) then click on the # button...
    Insert your formatted source code between the code tags. ie between [CODE] and [/CODE]

    Result..
    Code:
    Do Until
      Whatever
    Loop
    Rgds, Dave

    Comment


    • #3
      Above method has been broken for some time

      Currently one method which maintains formatting is:

      Add '[code]..'[/code] tags to your source code in your Editor (eg PBEdit).

      (Because the '[code and '[/code tags are 'Remed' you can still test your code in the IDE)

      Copy the source code including the 'remed' Code Tags to the clipboard and then Paste directly into the 'Advanced Editor'

      Click the Preview button to check, then hit Post Reply.


      '
      Code:
        Do Until
          Whatever
        Loop
      '
      If you find the remnant ' rem marks annoying, you can edit them in the Advanced Editor, after Pasting from the clipboard.

      Code:
        Do Until
          Whatever
        Loop


      ps. (from Site Help / BBCode Reference / Basic BBCode)
      Usage: [noparse][b]option[/b][/noparse]
      Example Usage: [noparse][b]Lorem ipsum dolor sit amet[/b][/noparse]
      Example Output: [b]Lorem ipsum dolor sit amet[/b]
      Rgds, Dave

      Comment


      • #4
        Test ????
        Rgds, Dave

        Comment

        Working...
        X