Hi Tomas,

On Tue, Aug 9, 2011 at 2:46 AM, Tomas Hlavaty <t...@logand.com> wrote:
> Hi Edwin,
>
>> having difficulty knowing when to use (prog) or (run).
>> bottomline is, when is it best to use one over the other?
>
> 'run' is more general and evaluating version, i.e. it's a function
> suitable for manipulating programs (aka eval) with other bell and
> whistles like "environment control".  'prog' is a "macro", i.e. a
> convenience shortcut for writing text of a program by hand.  You can
> build the macro version on to of the evaluating version.

thanks much for the replies.

every time i think i got something, i run into more questions.

i've run across 'evaluating' and 'non evaluating' versions of
functions. not just in this list but also in reading materials. i
haven't experienced the difference between the two yet.

in any case, i guess i'll just have to grow into it. think and program
in the language more. even tho it would be slow. :)

best

/e
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to