When the CSV module is activated, the default setitng is to read a file. Reading files allows you to import columns into WayScript as variables.
Once a csv is selected, the csv will populate on the page. Notes: The 'Ignore Headers' checkbox can be used to prevent WayScript from pulling in column headers if they exist in the file. Row 1 in this image shows an example of headers that I might want to ignore.
In order to import a column as a variable, the column must be labelled. Then, the column will appear under variables.
Pick a file to write or create a new file.
If this is checked, the variable name will be written as the first row of each column. This is useful for others to understand what data lies beneath it.
Add To File: every time the program runs, new rows of data will be added to the bottom of the csv Replace File: every time the program runs, the file will be wiped clean before the program runs.
You need to assign values to columns by pressing the + button under add your variables. Then the values of these variables will be written to your csv when your program runs. You can add as many columns as you would like.