Shop OBEX P1 Docs P2 Docs Learn Events
Code section separators — Parallax Forums

Code section separators

prof_brainoprof_braino Posts: 4,313
edited 2012-03-10 10:07 in General Discussion
I just saw this code section header separator in Sariel's post
http://forums.parallax.com/showthread.php?130474-Propeller-Cable-Tester&p=1003217&viewfull=1#post1003217

{{
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<<  
>>  (¯`·._.·(¯`·._.·(¯`·._. CONNECTION INFORMATION ._.·´¯)·._.·´¯)·._.·´¯)  <<
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<<  
}}

I never saw this one before, I thought it kind of cool.

Does anyone else have interesting examples?

Comments

  • RiJoRiRiJoRi Posts: 157
    edited 2011-06-16 08:15
    I use this one. I think I picked it up from a Forth book...

    ;===========================================+
    +=*
    ; | |
    ; | COMM FAILED b0 |
    ; | |
    ; +
    +

    --Rich

    FOO! It's supposed to look like a flag!!
  • FranklinFranklin Posts: 4,747
    edited 2011-06-16 08:36
    Wrap it with code tags from the advanced editor.
  • SarielSariel Posts: 182
    edited 2011-06-16 10:11
    I just saw this code section header separator in Sariel's post
    http://forums.parallax.com/showthread.php?130474-Propeller-Cable-Tester&p=1003217&viewfull=1#post1003217

    {{
    >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<<  
    >>  (¯`·._.·(¯`·._.·(¯`·._. CONNECTION INFORMATION ._.·´¯)·._.·´¯)·._.·´¯)  <<
    >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<<  
    }}
    

    I never saw this one before, I thought it kind of cool.

    Does anyone else have interesting examples?

    Hey thank you. I was just bored one day making code templates and decided to be a bit creative with some ascii art. I was thinking of writing a program as a joke to myself that referenced methods like:
    yermom.funky(stank, isgood)
    

    After previewing that, I realize how much I need a life away from computers.
  • SarielSariel Posts: 182
    edited 2012-03-09 09:30
    Well guys, I have gotten around to updating my template file again, and I have added MANY things... My universal Init for my Dev board, quite a few common schematics, a couple objects, etc. I know it is far from all-encompassing, But it is where I start when making a program. I thought I would share it with folks out there, in case someone else could find it helpfull.

    Keep in mind that unless I am making changes to the Template itself, I keep the top file "Read-Only" so I don't save changes I don't intend on keeping.


    PROP TEMPLATE v2 - Archive [Date 2012.03.09 Time 11.19].zip
  • User NameUser Name Posts: 1,451
    edited 2012-03-09 11:32
    Really great job! I particularly like the schematics - best I've seen in a Spin file.
  • SarielSariel Posts: 182
    edited 2012-03-09 12:20
    Thank you. Since I use this over and over and over, I figured that I should do it right, and have it easy to read. I used to to a lot of ASCII art back in the day, and I guess the skill still comes in handy somewhere.:lol:
  • kwinnkwinn Posts: 8,697
    edited 2012-03-10 10:07
    Like User Name said, Really great job! I particularly on the schematics. Not very often one sees that much effort put into the documentation.
Sign In or Register to comment.