View in color | License | Download script | History | Other scripts by: ajmartin |
30-Apr 12:21 UTC
[0.058] 10.779k
[0.058] 10.779k
arguments.rREBOL [
Title: "Arguments"
Date: 31-Aug-2002
Name: 'Arguments
Version: 1.0.1
File: %arguments.r
Author: "Andrew Martin"
Purpose: "Returns the arguments of the function as a block."
eMail: %Al--Bri--xtra--co--nz
Web: http://valley.150m.com
Example: [
Arguments :Arguments
]
library: [
level: 'intermediate
platform: none
type: 'function
domain: none
tested-under: none
support: none
license: none
see-also: none
]
]
Arguments: function [
"Returns the arguments of the function as a block."
F [any-function!]
] [
Arguments
] [
Arguments: make block! 2
foreach Argument pick :F 1 [
if refinement? :Argument [
break
]
append Arguments :Argument
]
Arguments
] Notes
|