> (maybe after taking into account JMarc
> comments about string and enum)?

That string (open or edit) will actually be used as command. I do not
think it makes much sense to

if (mode == OPEN)
  command = "open"
else if (mode == EDIT)
  command = "edit")

and blah...

Bo

Reply via email to