> If($IsPreemptive)
>  $GetSomeValue:=vMyValue
> ELSE
>  $GetSomeValue:=<>MyIpVar
> END IF

So if you have to visit the code to make it work both ways why not just simply 
use

 $GetSomeValue:=vMyValue

If it works for preemptive then it should work in all cases. Two cases means 
double maintenance, and double testing… I’m missing the advantage of the extra 
code.


Neil
--
Neil Dennis
4D Developer since 1990

GreaText - Designing Software for the Way You Work
716 East 1850 N
North Ogden, UT 84414

mailto:[email protected]
http://www.greatext.com/

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to