* Maxim Olivier-Adlhoch <[EMAIL PROTECTED]> [040322 10:41]:
> 
> I'll add that 
> 
> a word of the form :word  is a get-word! datatype.
 
> and using your (and my) example, the following form also works if you
> are in the global namespace (like when you're in the console)
 
  Thanks to Max and Gabrielle. All really good info>
  regards
  tim

> function? get 'forall
> 
> get returns value of the word instead of evaluating it.
> 
> -MAx
>  
> 
> > -----Original Message-----
> > From: Tim Johnson [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 22, 2004 1:51 PM
> > To: [EMAIL PROTECTED]
> > Subject: [REBOL] function?
> > 
> > 
> > 
> > This is strange: (to me anyway)
> > >> help function?
> > USAGE:
> >     FUNCTION? value
> > 
> > DESCRIPTION:
> >      Returns TRUE for function values.
> >      FUNCTION? is an action value.
> > 
> > ARGUMENTS:
> >      value -- (Type: any-type)
> > 
> > ;; OKAY .... let's find a function
> > >> help forall
> > USAGE:
> >     FORALL 'word body
> > 
> > DESCRIPTION:
> >      Evaluates a block for every value in a series.
> >      FORALL is a function value.
> > 
> > ARGUMENTS:
> >      word -- Word set to each position in series and changed 
> > as a result (Type: word)
> >      body -- Block to evaluate each time (Type: block)
> > 
> > (SPECIAL ATTRIBUTES)
> >      throw
> > ;; test forall 
> > >> function? 'forall
> > == false
> > 
> > ;; Say What!? I'm missing something here.
> > ;;  what did I do wrong?
> > 
> > thanks
> > tim
> > -- 
> > Tim Johnson <[EMAIL PROTECTED]>
> >       http://www.alaska-internet-solutions.com
> > -- 
> > To unsubscribe from this list, just send an email to
> > [EMAIL PROTECTED] with unsubscribe as the subject.
> > 
> > 
> 
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.

-- 
Tim Johnson <[EMAIL PROTECTED]>
      http://www.alaska-internet-solutions.com
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to