= #JxnPortable\docs\plot_examples\SliderRepeatNopDemo.jxn

slider = @JxnSliderPanel($this)
sliderVar = slider.add( "var", 0., -10., 10. )
countRepaint = 0  ! statement is not slider dependent => not repeated
countRepaint = countRepaint + 1 + nop(sliderVar)  ! nop forces repetition on change of sliderVar, countRepaint now dependent
countRepaint = $this.eval "countRepaint + 1000"   ! adds 1000 once, $this.eval "..." hides the dependency of countRepaint
plot( @JxnComplexAlgebra( 1., sliderVar, false ) )
$.add( @JxnGraphicsPainter( 1, -0.15, -0.1, 0.15, 0.1 ) ).add( @JxnTextPainter( countRepaint, 0., 0. ) )