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

[Xotcl] XOTcl behaviour

From: Murr, Florian <florian.murr_at_siemens.com>
Date: Mon, 18 Sep 2006 11:46:46 +0200

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