At 11:42 AM 2/6/2003 -0500, Le Wang wrote:

Hi,

This is the current indentation style:

<code>
gmo.options = MQC.MQGMO_WAIT |
  MQC.MQGMO_FAIL_IF_QUIESCING |
  MQC.MQGMO_SYNCPOINT |
  MQC.MQGMO_CONVERT;
</code>

I would like:

<code>
gmo.options = MQC.MQGMO_WAIT |
              MQC.MQGMO_FAIL_IF_QUIESCING |
              MQC.MQGMO_SYNCPOINT |
              MQC.MQGMO_CONVERT;
</code>
What I do in this case is rewrite it as

gmo.options = (MQC.MQGMO_WAIT |
MQC.MQGMO_FAIL_IF_QUIESCING |
MQC.MQGMO_SYNCPOINT |
MQC.MQGMO_CONVERT);

The parentheses change the context, so that it formats it like you want. Probably not the best solution, but it's one that works.

Troy


Troy Daniels
[EMAIL PROTECTED]
781-273-3388 x218

Reply via email to