At 12:28 AM 04/12/2001 -0400, you wrote:
> >From what I remember from my CS classes (my degree is in Electronics, not
>CS) functions and procedures are devices that use either an individual or
>multiple attributes to perform some computation.
;) functions must always return one value. Procedures can return one,
none, or more than one. I think that is the only distinction.
>In the case of a function,
>at least one value is returned to the calling process. Forgive me if I'm
>reaching a bit here, but doesn't that remind anyone else of a custom tag or
>CFX tag? A procedure doesn't return a value, but simply performs an action
>or actions on attributes passed to it. Taking a bigger stretch, doesn't
>that sound a bit like an include?
Well, custom tags are similar to procedures. Includes are not. If you
call an include multiple times in a template it could produce weird side
effects (or not), depending upon how you wrote the code in the
include. There is no way to pass values into, or out of, an include. They
are processed as if they were part of the original code.
Jeffry Houser | mailto:[EMAIL PROTECTED]
AIM: Reboog711 | ICQ: 5246969 | Phone: 860-229-2781
--
Instant ColdFusion 5.0 | ISBN: 0-07-213238-8
Due out June 2001
--
DotComIt, LLC
database driven web data using ColdFusion, Lotus Notes/Domino
--
Half of the Alternative Folk Duo called Far Cry Fly
http://www.farcryfly.com | http://www.mp3.com/FarCryFly
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists