> Can I specify a function with an optional parameter? - one that may or may
not be passed, or that could have a default value if not passed?

F: func [/Option Value] [
    all [
        none? Option
        Value: "default value"
        ]
    print Value
    ]

F
F/Option 123

Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/
-><-


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to