[Xotcl] XOTcl behaviour

Murr, Florian florian.murr at siemens.com
Mon Sep 18 11:46:46 CEST 2006


Dear XOTcl team,
 with XOTcl1.4.0 and XOTcl1.5.0 I encountered the following behaviour:


------------------------------------------------------------------------
Class X -parameter {
    {p   {}}
}

    # works fine
    X create x1  -p {a b c}

    # blows up!!
    X create x2  -p {-name a  -xyz b}

------------------------------------------------------------------------
--

IMHO there should be no dependency on the value of a parameter, whether
an Object is created or not.
In my programs I depend on being able to pass any value to the parameter
in question!

regards,
 - Florian



More information about the Xotcl mailing list