Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Combining a word and a value in one argument Re:

From: al:bri:xtra at: 27-Sep-2000 15:07

Tim wrote:
> It would be great if I could have a function that would take a rebol word
as an argument and print out both the word and it's value:
>> help source
USAGE: SOURCE 'word DESCRIPTION: Prints the source code for a word. SOURCE is a function value. ARGUMENTS: word -- (Type: word)
>> source test-int
test-int: 4 If you need a version of 'source that can be written to a file, let me know, and I put it on the list. I hope that helps! Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/