OMNIS7 syntax question

Kevin James interqual2 at optusnet.com.au
Thu Jan 19 03:07:18 EST 2017


Hi Mark

The pick function is very useful. 
Often it is used with Boolean values I.e. false or true.  For example #LSEL is either false (line is not selected) or true (line is selected )

I find it easiest to always think of false as 0 and true as 1 so that you approach the pick function in the right way. 

Once you have this mindset then the pick function would look something like :

pick(x,a,b,c,...,n) and the resulting value would be as follows:
X= 0 ; a
X= 1 ; b
X= 2 ; c
Etc

HTH




More information about the omnisdev-en mailing list