Announcement

Collapse
No announcement yet.

Test posting - code tag

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

  • helen
    replied
    Re: Test posting - code tag

    Code:
    main()
    {
      printf("howzit world\n");
    }

    Leave a comment:


  • helen
    replied
    Re: Test posting - code tag

    PHP Code:
    This is a test of PHP tag.
    line 2
    line 3
     
    line 5 
    (since line 4 is blank)
    end of test 

    Leave a comment:


  • helen
    replied
    Re: Test posting - code tag

    Had to remove the semicolons (and some other stuff) from the C code below to make it be able to be stored as a response or even a preview.


    Code:
    int i
    int j
    int adc
    fin = fopen("launch1a.txt","r")
    i = 0
    fscanf(fin,"%d",&adc)
    for (j=1; j<=20; j++) 
    printf("%d - %d\n",i,adc)
    i++
    fscanf(fin,"%d",&adc)

    Leave a comment:


  • helen
    replied
    Re: Test posting - code tag

    Another test of the code tag

    Code:
    line 1
    line 2
    line 3
    line 4
    line 5
    line 6
    line 7
    line 8
    line 9
    line 10
    line 11
    line 12
    line 13
    line 14
    line 15
    line 16
    line 17
    line 18
    line 19
    line 20
    line 21
    line 22
    line 23
    line 24
    line 25
    line 26
    line 27
    line 28
    line 29
    line 30
    line 31
    line 32
    line 33
    line 34
    line 35
    line 36
    line 37
    line 38
    line 39
    line 40

    Leave a comment:


  • helen
    replied
    Re: Test posting - code tag

    Interesting I was trying to post some C code inside a code tag and I got the following message:

    Service Temporarily Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

    I did this when trying to post a reply to this thread not making a new thread.

    Leave a comment:


  • helen
    replied
    Re: Test posting - code tag

    Just testing to see if I can post to the site.

    Leave a comment:


  • helen
    started a topic Test posting - code tag

    Test posting - code tag

    This is a test of using the code tag under vBulletin. The icon is the number sign in the standard editor, clicking on it produces the code tags
    Code:
    Use of the code tag is meant to post program code.
    Like BASIC or C or whatever programming language you are using that needs to be displayed.
    Text with in the code tag do not get word wrapped.
    You need to enter a newline character (like the Enter key) to go to the next line.
Working...
X