No registered users in community xowiki
in last 10 minutes
in last 10 minutes
Re: [Xotcl] XOTcl 1.3.0 available
From: Uwe Zdun <uwe.zdun_at_wu-wien.ac.at>
Date: Wed, 18 Aug 2004 16:37:20 +0200
Hi Kristoffer,
there should be no incompatibilities with older versions.
non-pos args are a pure extension by one additional argument
if there is none, you have no non-pos arguments. See the tutorial for
examples.
Uwe
Kristoffer Lawson wrote:
> On Wed, 18 Aug 2004, Gustaf Neumann wrote:
>
>> * Nonpositional arguments for xotcl procs/instprocs; this is
>> a flexible way to check arguments, to provide defaults etc
>> for every xotcl proc/instproc. It uses a similar syntax as
>> ad_proc and ad_page_contract in OACS. See the tutorial for
>> more details.
>
>
> Interesting... I wonder if something like that could be TIPped into
> Tcl itself? What about if I don't define any nonpositional arguments,
> can I pass arguments beginning with a dash? I kind of hope so, or
> otherwise it may be necessary to pass "--" everywhere, and it adds
> incompatibility with older XOTcls.
>
> / http://www.fishpool.com/~setok/
> _______________________________________________
> Xotcl mailing list - Xotcl_at_alice.wu-wien.ac.at
> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
Date: Wed, 18 Aug 2004 16:37:20 +0200
Hi Kristoffer,
there should be no incompatibilities with older versions.
non-pos args are a pure extension by one additional argument
if there is none, you have no non-pos arguments. See the tutorial for
examples.
Uwe
Kristoffer Lawson wrote:
> On Wed, 18 Aug 2004, Gustaf Neumann wrote:
>
>> * Nonpositional arguments for xotcl procs/instprocs; this is
>> a flexible way to check arguments, to provide defaults etc
>> for every xotcl proc/instproc. It uses a similar syntax as
>> ad_proc and ad_page_contract in OACS. See the tutorial for
>> more details.
>
>
> Interesting... I wonder if something like that could be TIPped into
> Tcl itself? What about if I don't define any nonpositional arguments,
> can I pass arguments beginning with a dash? I kind of hope so, or
> otherwise it may be necessary to pass "--" everywhere, and it adds
> incompatibility with older XOTcls.
>
> / http://www.fishpool.com/~setok/
> _______________________________________________
> Xotcl mailing list - Xotcl_at_alice.wu-wien.ac.at
> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
-- Uwe Zdun Department of Information Systems, Vienna University of Economics Phone: +43 1 313 36 4796, Fax: +43 1 313 36 746 zdun_at_acm.org, uwe.zdun_at_wu-wien.ac.at