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 > Example scripts

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

Scroll Prev Top Next More

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.

 

 

 

 

 

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