ASCII Art Code Comments

Nick Kaye emailed me yesterday suggesting I add a feature to the Text ASCII Art Generator program which would allow for the output to be formatted in the form of a C-style programming comment. He even offered to write the code patch himself.

I thought the idea was really cool, and took him up on his offer. Anyway, the new feature is under the “More Options” link in the TAAG interface. Once it’s turned on, you’ll get output that’s formatted in the form of a programming comment. Here is an example:

/***
 *                      .___       
 *      ____   ____   __| _/ ____  
 *    _/ ___\ /  _ \ / __ |_/ __ \ 
 *    \  \___(  <_> ) /_/ |\  ___/ 
 *     \___  >\____/\____ | \___  >
 *         \/            \/     \/ 
 */

If anyone has any issues or additional suggestions let me know. And thanks again to Nick!

3 thoughts on “ASCII Art Code Comments”

  1. Yhea Nick…
    I’ve just spent about 30+ minutes on the TAAG looking to do just this exact thing. I C&P the results into UltraEdit and use the “Column Mode” to add the Comment Embellishments. It worked well.

    I would suggest maybe having several font-types for different languages. Yes, I program in VB.NET (Don’t Shoot! Please!).

    I’m thinking this would also work to make the “Auto Comment” much more interesting:

    ”’
    ”’ .___
    ”’ ____ ____ __| _/ ____
    ”’ _/ ___\ / _ \ / __ |_/ __ \
    ”’ \ \___( ) /_/ |\ ___/
    ”’ \___ >\____/\____ | \___ >
    ”’ \/ \/ \/
    ”’
    ”’

    Ok… Enough of the flattery and suggestions; now, to my major problems here!

    I read blogs out of necessity only; for information, get it? You should be more careful, and not make this stuff too interesting, as I have lost over an hour of production time on this site already.

    Thanks your your patience and indulgence,
    ~JLSjr

Comments are closed.