The attached file includes sample SamUL scripts showing two approaches for reading a text file containing comma-separated values (CSV) and storing the data in an array.
The scripts do not use the SAM case in the file, so you can ignore it.
Best regards,
Paul.