Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Dynamic question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125246] Re: Dynamic question
  • From: Michael Musheghian <michael.musheghian at gmail.com>
  • Date: Thu, 1 Mar 2012 05:38:16 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jil5s4$rtn$1@smc.vnet.net>

On Wednesday, February 29, 2012 4:32:04 PM UTC+4, Dominik Hezel wrote:
> 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!

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



  • Prev by Date: feature request: FilePrint between markers
  • Next by Date: Re: Dynamic question
  • Previous by thread: feature request: FilePrint between markers
  • Next by thread: Re: Dynamic question