GraphPad Prism 8 User Guide

Script example 3. Import several files onto one table

Script example 3. Import several files onto one table

Previous topic Next topic No expanding text in this topic  

Script example 3. Import several files onto one table

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function Emails questions or corrections.  

This example uses the script to import several files onto one data table.

Script command

Comments

SetPath “c:\Data\Oct2011\”

Define the disk and directory to be used by the rest of the commands.

Open rapid.pzt

Open the Prism template rapid.pzt that was created to contain a formatted data table.

GoTo D

Go to the data section.

ForEach Avge_*.dat

Loop through all files that start with Avge_ and have the extension DAT.

   Import

Import into the first empty column.

Next

Go to the next file, which will be imported into the next column of the same table.