The cases in this document will help you get a general and perceptual understanding of data processing. You can also copy the functions in these cases for your own data processing.
vfunction: v("Field A") indicates the value of field A. The parameter is Field or Field value in some functions. The common error is that: the function parameter is Field value but the
vfunction is not used to get the field value, which leads to function execution failure.
fields_setfunction is used to set field values and store the content processed by data processing function. For example,
fields_set("A+B",op_add(v("Field A"),v("Field B")))is to add the values of fields A and B, and the
op_addfunction needs to leverage the
fields_setfunction to complete result writing and storage.
You can refer to the following cases to complete your data processing: