I'm a little confused about the distinction between
any-function? and function?

  any-function? :break
== true
but
function? :break
== false

Can anyone enlighten me? I see
that the function below uses any-function?
Thanks
Tim
At 04:18 PM 8/7/00 -0400, you wrote:
>You can also modify "what" to make a new function that
>does what-you-want.
>
> >> source what
>what: func [
>     "Prints a list of globally-defined functions."
>     /local vals args here total
>][
>     total: copy []
>     vals: second system/words
>     foreach word first system/words [
>         if any-function? first vals [
>             args: first first vals
>             if here: find args /local [args: copy/part args here]
>             append total reduce [word mold args]
>         ]
>         vals: next vals
>     ]
>     foreach [word args] sort/skip total 2 [print [word args]]
>     exit
>]
> >>
>
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Monday, August 07, 2000 4:00 PM
>To: [EMAIL PROTECTED]
>Subject: [REBOL] Getting Rebol Word List Re:(3)
>
>
>Maybe you should try
>help what
>
>The what command lists all REBOL words.
>
>I'm new to Rebol but I think this is correct.
>
>Bob
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Monday, August 07, 2000 1:48 PM
>To: [EMAIL PROTECTED]
>Subject: [REBOL] Getting Rebol Word List Re:(2)
>
>
>At 12:38 PM 8/7/00 -0600, you wrote:
> >At 8/7/00 9:11:00 AM, you wrote:
> > >Hi:
> > >
> > >There is a way to dump the entire rebol word list
> > >to a file. I have used it before but can't remember...
> > >
> > >Does anyone know how to do this and where the
> > >documentation is?
> > >
> > >Thanks
> > >Tim
> > >
> > >
> >
> >I don't suppose you are thinking of the rebdoc.r script?  It makes an html
> >list of all REBOL defined words.
>
>I wasn't, but that is great feature, I still think there is a command,
>but maybe I'm hallucinating.
>Thanks!!
>Tim
>
> >-tom


Reply via email to