lSomething=.t. if x=1 * Do something with lsomething else lsomething=.f. if x=2 do something with lsomething else if x=3 do something2 with lsomething else lsomething=.null. endif endif endifI did test in DOS xBase once. IF/ELSE executed in half the time of IF/ENDIF!
>... >DO CASE >CASE nKeyCode=56 AND .height>1 &&Up > .Height=.Height-1 >CASE nKeyCode=50 &&Down > .Height=.height+1 >CASE nKeyCode=54 &&Right > .width=.width+1 >CASE nKeyCode=52 AND .width>1 &&Left > .width=.width-1 >ENDCASE >... >