Please enable JavaScript to view this site.

This guide is for an old version of Prism. Browse the latest version or update Prism

Navigation: Scripts > Script syntax

Importing data from the script file

Scroll Prev Top Next More

Commands

InsertData <row>, <col>, <subcol>

InsertDataLink <row>, <col>, <subcol>

 

Explanation

If you create the script file from within another program, you can include data and info constants within the same file as the script commands.

The InsertData command imports data included within the script file, into the current data table, starting at the specified position. The data are included right in the script file enclosed between the tags <Data> and </Data>. The rest of the script continues right after the </Data> tag.

InsertData

<Data>

1, 2, 4

5, 7, 9

</Data>

The InsertDataLink command imports data included within the script file, into a data object whose upper left position is at the indicated position. This works similarly to the ImportLink command.

If you want to import starting at a particular row or column, specify them. Row 0 is the title row, and row 1 is the first row with data. Column 0 is the X column, and column 1 is the first Y column. Column -1 designates the row titles.

 

 

 

 

 

 

© 1995-2019 GraphPad Software, LLC. All rights reserved.