GraphPad Prism 8 User Guide

Script example 5. Import data and info constants from the script file

Script example 5. Import data and info constants from the script file

Previous topic Next topic No expanding text in this topic  

Script example 5. Import data and info constants from the script file

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

Script command

Comments

GoTo D , 1

Go to the first data table.

InsertData 1,0

Insert data from the script file, starting at row 1, column 0 (the X column).

<DATA>

1.000           564.1452

2.000           389.7727

3.000           138.9337

4.000           115.3119

</DATA>

Data block within script file.

Adjacent values are separated by tabs.

GoTo I, 2

Go to second info sheet.

SetInfo "Experiment", 2, 0

Set the name of the second info constant.

SetInfo "345", 2, 1

Set the value of the second info constant.

SetInfo "Experimenter", 3, 0

Set the name of the third info constant.

SetInfo "Dan Brown",3, 1

Set the value of the third info constant.

SetInfo "[Potassium]", 4, 0

Set the name of the fourth info constant.

SetInfo "3.45 mM", 4, 1

Set the value of the fourth info constant.

 

It would not make sense to create this script by hand, but it would be very useful if created by another program.