Re: Damnit Jim, I'm a Writer, not a Programmer II: The Wrath of K ahn

Subject: Re: Damnit Jim, I'm a Writer, not a Programmer II: The Wrath of K ahn
From: Peter <pnewman1 -at- home -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Fri, 06 Jul 2001 21:55:08 -0400

Paul Sinasohn wrote:
>
> Peter wrote:
>
> > for you non-programmers. try to decipher the meaning of a statement such
> > as
>
> > fprintf(urt, "%f.6 %s " , dr, (i=0;1+%r\d;++i));
>
> Hmmm... well, it probably has to do something with printing something,
> and maybe it is a file.
> Whatever is getting printed, it's going to be printed (or numbered?) in
> sets, counted by integers.
> There's a semi-colon at the end of the statement, so it's complete in
> and of itself.
>
> How did I do??
>

Pretty good. It is a syntacally incorrect c statement, with an
inadvertent typo, to print information to a file, while a condition
exists. My only reason for posting was to illustrate that while some
programs can be deciphered, one should have at least a nodding
acquaintance with the particular language, before attempting to do so.
the C++ equivalent statement would look totally different. :-) Have a
nice weekend all.


--
Peter
Mailto:peternew -at- optonline -dot- net

Adapting old programs to fit new machines
usually means adapting new machines to
behave like old ones.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

*** Deva(tm) Tools for Dreamweaver and Deva(tm) Search ***
Build Contents, Indexes, and Search for Web Sites and Help Systems
Available now at http://www.devahelp.com or info -at- devahelp -dot- com

TECH*COMM 2001 Conference, July 15-18 in Washington, DC
The Help Technology Conference, August 21-24 in Boston, MA
Details and online registration at http://www.SolutionsEvents.com


---
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.


References:
RE: Damnit Jim, I'm a Writer, not a Programmer II: The Wrath of K ahn: From: Arlen . P . Walker
Re: Damnit Jim, I'm a Writer, not a Programmer II: The Wrath of K ahn: From: Peter
Re: Damnit Jim, I'm a Writer, not a Programmer II: The Wrath of K ahn: From: Paul Sinasohn

Previous by Author: Re: Damnit Jim, I'm a Writer, not a Programmer II: The Wrath of K ahn
Next by Author: Re: Ventura vs. Framemaker
Previous by Thread: Re: Damnit Jim, I'm a Writer, not a Programmer II: The Wrath of K ahn
Next by Thread: Re: Damnit Jim, I'm a Writer, not a Programmer II: The Wrath of K ahn


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


Sponsored Ads