View · Search · Index
No registered users in community xowiki
in last 10 minutes

Re: [Xotcl] Very severe limitation in XOTcl

From: Gustaf Neumann <neumann_at_wu-wien.ac.at>
Date: Thu, 05 Aug 2010 12:38:38 +0200

Am 05.08.10 12:21, schrieb Kristoffer Lawson:
> I need to check still what 2.0 does with:
>
> Car c1 $a
>
> where $a starts with a dash.
>
The next release comes with two flavors:
(a) XOTcl 2.0, which is mostly backward compatible,
(b) a new object system with a different syntax (among many other things,
    one cannot call arbitrary methods via dash syntax).

For XOTcl 2.0, the behavior for this example is like in XOTcl 1.* (it
has to be
for compatibility for many one-liners out there), for the new syntax,
you get an
error message (... and, by default, one has to use "Car create c1"
instead of
"Car c1", since the latter is dangerous as well).

-gn