Interpretation with If
- To: mathgroup at smc.vnet.net
- Subject: [mg87260] Interpretation with If
- From: "Matthias Gottschalk" <mgott at gfz-potsdam.de>
- Date: Sun, 6 Apr 2008 06:40:35 -0400 (EDT)
Hello I play around with the Interpretation function and encounter the following: While this works: Interpretation[ {init = 0}, Panel[ TabView[ { Style["Initialization", Plain] -> RadioButton[Dynamic[init], 1], Style["Start", Plain] -> Dynamic[init] } ] ], 1 + 1 ] The following doe not: Interpretation[ {init = 0}, Panel[ TabView[ { Style["Initialization", Plain] -> RadioButton[Dynamic[init], 1], Style["Start", Plain] -> If[Dynamic[init] == 1, Style["True", Red, Italic], Style["False", Red, Italic] ] } ] ], 1 + 1 ] The If statement is not evaluated. Does anybody what I am doing wrong? Regards Matthias
- Follow-Ups:
- Re: Interpretation with If
- From: bsyehuda@gmail.com
- Re: Interpretation with If