code printing utility

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cj

    #1

    code printing utility

    I always have liked to print my code and look at it on paper. Used to
    be I could print my code on nice tractor feed green bar paper. Now I
    have to tape pages together. Oh well.

    What really kills me is I used to use a utility called Snap in xbase
    languages that drew lines connecting if, elses, endifs and other loops
    etc so they were easy to see the nesting etc. Like this:

    | +-if not (directory("i:\ cust"))
    | | thisform.label1 .caption = 'network down, program exiting'
    | | thisform.refres h()
    | | wait "" timeout 3
    <=========qui t
    | +-endif
    | mretval = thisform.ftpcon trol2.connect(f tpserver)
    | thisform.label1 .caption = iif(mretval=0,' Succeeded','Fai led')
    | thisform.refres h()
    |
    | +-if mretval=0
    | | mretval = thisform.ftpcon trol2.changedir ectory('Rpt')
    | | +-if mretval = 0
    | | | thisform.label1 .caption = 'CWD Succeeded'
    |

    I know it's kind of a long shot but, does anyone know of anything that
    will allow me to print VB.net code like this? I'm using a ruler and pen
    now!
  • Tom Shelton

    #2
    Re: code printing utility

    On Nov 8, 1:10 pm, cj <c...@nospam.no spamwrote:
    I always have liked to print my code and look at it on paper. Used to
    be I could print my code on nice tractor feed green bar paper. Now I
    have to tape pages together. Oh well.
    >
    What really kills me is I used to use a utility called Snap in xbase
    languages that drew lines connecting if, elses, endifs and other loops
    etc so they were easy to see the nesting etc. Like this:
    >
    | +-if not (directory("i:\ cust"))
    | | thisform.label1 .caption = 'network down, program exiting'
    | | thisform.refres h()
    | | wait "" timeout 3
    <=========qui t
    | +-endif
    | mretval = thisform.ftpcon trol2.connect(f tpserver)
    | thisform.label1 .caption = iif(mretval=0,' Succeeded','Fai led')
    | thisform.refres h()
    |
    | +-if mretval=0
    | | mretval = thisform.ftpcon trol2.changedir ectory('Rpt')
    | | +-if mretval = 0
    | | | thisform.label1 .caption = 'CWD Succeeded'
    |
    >
    I know it's kind of a long shot but, does anyone know of anything that
    will allow me to print VB.net code like this? I'm using a ruler and pen
    now!
    Hmm... I used to use coderush from devexpress - and it would do
    something like that in the ide (actually the code flow visualization
    was excelent). What I can't remember is if it would print with that
    stuff....

    You could check it out over at http://www.devexpress.com

    --
    Tom Shelton

    Comment

    • cj

      #3
      Re: code printing utility

      Thanks, I'll check into it as soon as I get a bit of time. If this can
      do it on the screen I might be able to use it like that too. Snap never
      did it on the screen--well you could view it there but it wasn't like
      you could edit the code and expect it to work because you'd have to
      remove all those ASCII lines. Snap had many options for standardizing
      indentation and capitalization etc and would write a prg file back that
      you could compile as well as a report file with the lines etc for
      printing. VB is quite nice in most respects but I sure do miss being
      able to hang a program up on my cork board in a couple strings of fan
      folded paper with the lines on them and stand back and see groups of
      code mark it up with my highlighters and decide what needs to go where
      before changing the code in the ide.



      Tom Shelton wrote:
      On Nov 8, 1:10 pm, cj <c...@nospam.no spamwrote:
      >I always have liked to print my code and look at it on paper. Used to
      >be I could print my code on nice tractor feed green bar paper. Now I
      >have to tape pages together. Oh well.
      >>
      >What really kills me is I used to use a utility called Snap in xbase
      >languages that drew lines connecting if, elses, endifs and other loops
      >etc so they were easy to see the nesting etc. Like this:
      >>
      > | +-if not (directory("i:\ cust"))
      > | | thisform.label1 .caption = 'network down, program exiting'
      > | | thisform.refres h()
      > | | wait "" timeout 3
      ><=========qu it
      > | +-endif
      > | mretval = thisform.ftpcon trol2.connect(f tpserver)
      > | thisform.label1 .caption = iif(mretval=0,' Succeeded','Fai led')
      > | thisform.refres h()
      > |
      > | +-if mretval=0
      > | | mretval = thisform.ftpcon trol2.changedir ectory('Rpt')
      > | | +-if mretval = 0
      > | | | thisform.label1 .caption = 'CWD Succeeded'
      > |
      >>
      >I know it's kind of a long shot but, does anyone know of anything that
      >will allow me to print VB.net code like this? I'm using a ruler and pen
      >now!
      >
      Hmm... I used to use coderush from devexpress - and it would do
      something like that in the ide (actually the code flow visualization
      was excelent). What I can't remember is if it would print with that
      stuff....
      >
      You could check it out over at http://www.devexpress.com
      >
      --
      Tom Shelton
      >

      Comment

      • Mythran

        #4
        Re: code printing utility



        "cj" <cj@nospam.nosp amwrote in message
        news:utxbHPuIIH A.5904@TK2MSFTN GP04.phx.gbl...
        Thanks, I'll check into it as soon as I get a bit of time. If this can do
        it on the screen I might be able to use it like that too. Snap never did
        it on the screen--well you could view it there but it wasn't like you
        could edit the code and expect it to work because you'd have to remove all
        those ASCII lines. Snap had many options for standardizing indentation
        and capitalization etc and would write a prg file back that you could
        compile as well as a report file with the lines etc for printing. VB is
        quite nice in most respects but I sure do miss being able to hang a
        program up on my cork board in a couple strings of fan folded paper with
        the lines on them and stand back and see groups of code mark it up with my
        highlighters and decide what needs to go where before changing the code in
        the ide.
        >
        Old school man...old school...brings back memories... :)

        Mythran

        -- An abacus is a few pieces of wood that can count faster than you. - Me


        Comment

        Working...