testing

Clovertech Forums Cloverleaf testing

  • Creator
    Topic
  • #109031
    David Barr
    Participant

      testing

      Attachments:
      You must be logged in to view attached files.
    Viewing 4 reply threads
    • Author
      Replies
      • #109033
        David Barr
        Participant
           #! /usr/bin/env tclsh
          
           proc MySelf {} {
             puts {#! /usr/bin/env tclsh}
             puts {}
             puts -nonewline "proc MySelf {} {"
             puts -nonewline [info body MySelf]
             puts "}"
             puts ""
             puts "MySelf"
           }
          
           MySelf
        • #109492
          Rob Abbott
          Keymaster

            testing code snippets using angle bracket “code” tags


            here's some code [foo bar]

            Rob Abbott
            Cloverleaf Emeritus

          • #109527
            David Barr
            Participant

              Which I push the code button in the editor, it looks like it inserts a grave accent (ascii 0x60) character. I think that also works for quoting blocks of code.

              testing [stuff]

            • #109563
              Rob Abbott
              Keymaster

                test

                test

                test

                test [blah] [foo bar]

                blah [foo bar]

                 

                this is a list

                • one
                • two
                • three

                this is a numbered list

                1. one
                2. two
                3. three

                 

                some code as a blockquote

                proc blah {arg1 arg2} {

                echo “hello, world”

                echo [format %04s xyz]

                }

                 

                some code as “code” (ctrl-alt-x)

                proc blah {arg1 arg2} {

                   echo "hello, world"

                   echo [format %04s xyz]

                }

                 

                the above is ugly.   best way to do a ‘code’ block seems to be encapsulate it in back-ticks (one at the beginning of the block, one at the end).  other option is to hit ctrl-alt-x and type or paste your code.   don’t highlight a block and ctrl-alt-x.

                proc blah {arg1 arg2} {
                
                echo "hello, world"
                
                echo [format %04s xyz]
                
                }
                • This reply was modified 5 years, 6 months ago by Rob Abbott.
                • This reply was modified 5 years, 6 months ago by Rob Abbott.
                • This reply was modified 5 years, 6 months ago by Rob Abbott.
                • This reply was modified 5 years, 6 months ago by Rob Abbott.
                • This reply was modified 5 years, 6 months ago by Rob Abbott.

                Rob Abbott
                Cloverleaf Emeritus

              • #109642
                James Mestack
                Participant

                  testing a post.

              Viewing 4 reply threads
              • You must be logged in to reply to this topic.