473,395 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

code printing utility

cj
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.refresh()
| | wait "" timeout 3
<=========quit
| +-endif
| mretval = thisform.ftpcontrol2.connect(ftpserver)
| thisform.label1.caption = iif(mretval=0,'Succeeded','Failed')
| thisform.refresh()
|
| +-if mretval=0
| | mretval = thisform.ftpcontrol2.changedirectory('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!
Nov 8 '07 #1
3 1270
On Nov 8, 1:10 pm, cj <c...@nospam.nospamwrote:
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.refresh()
| | wait "" timeout 3
<=========quit
| +-endif
| mretval = thisform.ftpcontrol2.connect(ftpserver)
| thisform.label1.caption = iif(mretval=0,'Succeeded','Failed')
| thisform.refresh()
|
| +-if mretval=0
| | mretval = thisform.ftpcontrol2.changedirectory('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

Nov 9 '07 #2
cj
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.nospamwrote:
>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.refresh()
| | wait "" timeout 3
<=========quit
| +-endif
| mretval = thisform.ftpcontrol2.connect(ftpserver)
| thisform.label1.caption = iif(mretval=0,'Succeeded','Failed')
| thisform.refresh()
|
| +-if mretval=0
| | mretval = thisform.ftpcontrol2.changedirectory('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
Nov 9 '07 #3


"cj" <cj@nospam.nospamwrote in message
news:ut**************@TK2MSFTNGP04.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
Nov 9 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Dan Perl | last post by:
Is there a mechanism or an idiom for adding code for debugging so that it can easily be removed in the production code? I am thinking of something similar to the C/C++ preprocessor statements with...
2
by: gerb | last post by:
Hello, I realise this is not a pure Javascript question, and that VBscript is probably involved at some point, though not as much as I fear. If you opened this item looking for a pute Javascript...
6
by: Kamilche | last post by:
I have a large project that is getting complex, and I would like to print the docstrings without importing the modules. The only Python utility I could find references is apparently defunct and...
11
by: cybertof | last post by:
Hello, Is there a way to easily print a .pdf file to the printer ? (without an external component) Thanks.
6
by: Ron | last post by:
Hi, I know Access allows for easy construction of a report setup to print labels from a table/query, etc. I've done that one. It works pretty well for what I need. However, is there an...
14
by: Marcus Kwok | last post by:
If I have some class Foo, my standard way for printing it is to overload operator<< as a friend, e.g., class Foo { int i; public: Foo() : i(0) { } friend std::ostream&...
1
by: srinivasarv | last post by:
Dear Friends, kindly help me in correcting the following code This code is for printing the report from the combo box after selection which connects to different reports as selected. I have...
5
by: HMS Surprise | last post by:
I want to print a count down timer on the same line. I tried print '\r', timeLeft, which just appends to the same line. thanx,
5
by: David | last post by:
All, Is there a pretty printing utility for Python, something like Tidy for HTML? That will change: xp=self.uleft+percentx*(self.xwidth) To:
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.