-1

A sentence from here:

Do not accept any inputs that violate these rules, or convert the inputs to safe values.

Does this sentence prohibit conversion? Or does it encourage to do?
Note: I found this one, but I am wondering if the comma before "or" has some effect.

  • It's "This sentence does prohibit ... .", so it is "Does this sentence prohibit ... ?". "This sentence prohibits ... ." is , however, also correct. – PvtBuddie Mar 19 at 5:15
  • @PvtBuddie Ah, yes. Thank you. I fixed it. – CoiL Mar 19 at 6:34
0

Yes, this sentence prohibits conversion. If you do want to allow conversion, as I am guessing, based on the word "safe", you should replace "or" with "but". The comma reads as meaning you are listing a second "do not".

  • 1
    If you really want to exclude conversion, then you can change the wording ... "Do not accept any inputs that violate these rules, and do not convert the inputs to safe values." – GEdgar Mar 19 at 12:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.