Hello [EMAIL PROTECTED]!
On 02-Feb-00, you wrote:
r> my-function: func [
r> "My function"
r> a [string!] "required argument"
r> /b "A refinement"
r> c: "Hello" [string!] {An optional argument with the
r> default value "Hello"} ] [
r> print mold [a c]
r> ]
Thomas, this is a nice idea. I think RT may want to add something
like this in the future.
Just a sidenote: in very simple cases, it is possible to write:
f: func [
a
/b c
] [
c: any [c "default"]
...
]
Regards,
Gabriele.
--
o--------------------) .-^-. (----------------------------------o
| Gabriele Santilli / /_/_\_\ \ Amiga Group Italia --- L'Aquila |
| GIESSE on IRC \ \-\_/-/ / http://www.amyresource.it/AGI/ |
o--------------------) `-v-' (----------------------------------o