This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Assign a CDL value to TCL variable.
- From: Ilija Kocho <ilijak at siva dot com dot mk>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Sun, 08 Jul 2012 22:02:26 +0200
- Subject: [ECOS] Assign a CDL value to TCL variable.
Hi colleagues
Is there a way to assign a value of CDL option/component to a TCL
variable. something equivalent to:
cdl_option CYGFOO {
flavor data
calculated 5
}
set cygbar some_function(CYGFOO)
# Here cygbar == 5
Ilija
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss