Slighty related here, is a mezzanine 'what >> ? what USAGE: WHAT
DESCRIPTION: Prints a list of globally-defined functions. WHAT is a function value. Enjoy!! ~~Ammon ;~> ----- Original Message ----- From: "Ashley Trüter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 29, 2004 8:13 PM Subject: [REBOL] [globals] Handy function for determining what words are global > > For those who would like to know just exactly what those global words are. > > <code> > > w: copy [] f: copy [] n: copy [] o: copy [] a: copy [] > > foreach word load mold first system/words [ > if value? word [ > insert tail w word > if function? get word [insert tail f word] > if native? get word [insert tail n word] > if op? get word [insert tail o word] > if action? get word [insert tail a word] > ] > ] > > print reform [ > length? first system/words "system/words^/" > length? w "global words^/^-" > length? f "funcs ^/^-" > length? n "natives^/^-" > length? o "ops^/^-" > length? a "actions" > ] > > </code> > > To see a list of native!'s (for example), just use "help n". > > > Regards, > > Ashley > -- > 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.