Setting Property ValuesTo set the value of a property, use colon-equals ( Compound := 'T56’; Assign a number ( M_Point := 145; Retrieve a value from one property ( S_Point := M_Point;
Setting Array Property ValuesTo set the value of a property to an array, use colon-equals ( Filenames := Array(‘Assay1.txt’,’Assay2.txt’,’Assay3.txt’); You can also create an array of floating point numbers: Floats := Array(3.14159, 2.718, 0.57721); Creating an array of integers is trickier, as numbers (even written without the decimal point) are interpreted by default as doubles in PilotScript. However, you can wrap them with the Integer function. Here is an array of integers: Primes := Array(Integer(2), Integer(3), Integer(5), Integer(7), Integer(11)); Removing Property ValuesTo remove a property, use the Remove ('Compound');
This works for properties that you recently created or with existing properties on the data record passed to the expression. | |||||||||