0
Apple cobra Posted 8 years ago
Grammar

Paragraph correction

Hi everyone,

Not a native speaker. I've got this paragraph on how to use a function (for programming):

How to assign values to a checklist?

Checklists have a different method of assignment, as the one that is used for other fields will not work.

$scope.setCheckList('document', 'DocumentData.list1', 'Data');

$scope.setCheckList('observation', 'Observations.obsName', 'Data');

Commas in Data are used to separate between items of the same checklist. In case a specific item contains a comma within, “\,” can be used. On a separate note, Observations["obsName"] is not an acceptable syntax. For those cases, obsName can be declared as a 2-or-more-word observation term.

  • I used "as the one that is used for other fields will not work" to indicate that the assignment function used for other fields will not work on checklist. Should've used "since" or something else?
  • I use code format for "Data" and "obsName" in the paragraph after the code sample. Is it correct?
  • Is the phrasing "a 2-or-more-word observation term" correct?
  • I wrote "For those cases". Is that correct or should I've used "In those cases"?
  • Could I've written "In/For those instances"?
  • Is there anything else I need to correct?
  
Free · every Monday

Get the Weekly English Kit 📬

New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.

0 Answers

Related Questions