Re: code examples in a document

Subject: Re: code examples in a document
From: "Mike O." <obie1121 -at- yahoo -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Tue, 5 Nov 2002 14:20:09 -0800 (PST)


John wrote:
> ...how do you handle code lines that are so long that
> they wrap in the document.

Find out what your scripting language uses for a line
continuation marker, and use it in your code examples. Check
out the code examples in Word VBA help; there are lots of
instances where the line continuation character is used to break
a line of code.

For example:

Msg = "Please enter a name for this object." & Chr(13) _
& "Press Cancel to see names in collection."

Regards,
Mike O.

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
All-new RoboHelp X3 is now shipping! Get single sourcing, print-quality
documentation, conditional text and much more, in the most monumental
release ever. Save $100! Order online at http://www.ehelp.com/techwr-l

Check out SnagIt - The Screen Capture Standard!
Download a free 30-day trial from http://www.techsmith.com/rdr/txt/twr
Find out what all the other tech writers, including Dan, already know!

---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.


Follow-Ups:

Previous by Author: RE: Need SME Review? Try this
Next by Author: Re: Want to Recommend a Book?
Previous by Thread: Re: code examples in a document
Next by Thread: Re: code examples in a document


What this post helpful? Share it with friends and colleagues:


Sponsored Ads