I am slowly moving from VFP to .net. In foxPro you can do the following
I was just wondering what the comparitve function is in .Net, what is the equivalent of between? Is there on or do I have to do it :
ifnnum >= 1 and nnum <= 16 ...
Any help gretly appreciated.
Nathj
Code:
func numbertest
parameters nNum
if between(nnum, 1, 16) then
? "number is between 1 and 16"
else
? "number is not between 1 and 16"
endif
return
endfunc
I was just wondering what the comparitve function is in .Net, what is the equivalent of between? Is there on or do I have to do it :
ifnnum >= 1 and nnum <= 16 ...
Any help gretly appreciated.
Nathj