From: James E. F. <jf...@ac...> - 2003-03-04 23:14:45
|
Yes, status, is a bitfield, and the STATUS_* defines are masks. The masks should be self explanitory. The reason they are bits not flags is because it may be useful to know, for example, if a survey was deleted after being active (and hence having associated responses). -James On Tue, 4 Mar 2003, Emmett Bearden wrote: > No functional issues with the phpESP code. I guess I just interpreted > this differently for the code I wrote. Could you summarize the > STATUS_ACTIVE defines? I thought they were flags but it seems they are > masks. > > eb. > > On Tuesday, Mar 4, 2003, at 17:13 US/Eastern, James E. Flemer wrote: > > > On Tue, 4 Mar 2003, Emmett Bearden wrote: > > > >> After creating a survey putting it into test mode and then activating > >> it I find the status is 9 which indicates that it is both being tested > >> and activated at the same time. I don't think this is correct. > > > > It is correct. Are there any "functional" issues with > > this, or are you just noting this for "aesthetics"? For > > example, even if the status bit is 9, you cannot actually > > "test" the survey (even by putting the SID on the url). > > > > -James |