MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Dynamic question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125242] Re: Dynamic question
  • From: Dominik Hezel <dominik.hezel at gmail.com>
  • Date: Thu, 1 Mar 2012 05:36:52 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jil5s4$rtn$1@smc.vnet.net>

Am Mittwoch, 29. Februar 2012 13:32:04 UTC+1 schrieb Dominik Hezel:
> Hello,
> 
> I'm stuck in program, because (simplified to the guts)
> 
> x = 8;
> If[Dynamic[x] >= 5, "a", "b"]
> 
> doesn't work. Can anyone tell me why - or even better, offer me a solution how to do this?
> 
> thanks a lot!

OK - I just found the solution!

x = 8;
Dynamic[If[x >= 5, "a", "b"]]

Thanks anyway,  Dominik



  • Prev by Date: Can you call 32 Bit DLLs from Mathematica 8.0 ?
  • Next by Date: Re: Dynamic question
  • Previous by thread: Re: Dynamic question
  • Next by thread: Re: Dynamic question