Script syntax

Print this Topic

Script syntax

Each script command begins with the command name. Most commands then have one or several arguments. Separate the command name from the arguments with a space, and separate the arguments from each other with spaces or commas. You can use upper and lower case letters interchangeably, and can add extra spaces to improve readability.

In the rest of this section, required arguments are shown in square brackets [like this] and optional arguments are shown in angled brackets <like this>. When an argument is in lower case, it describes the value you will enter. When an optional argument is in uppercase, you enter that exact word if you want that option.

General commands

Adding comments to a script

Loops and simulations

Creating new sheets

Changing data tables

Changing graphs

Setting the default drive and folder

Opening and saving Prism Files

Importing data

Changing info constants

Including data and info constants in the script file

Exporting a graph or layout

Exporting data, results or info tables

Copy and paste

Writing to Prism, text, HTML, XML or SQL tables

Writing to text files

Send to Microsoft Office

Special purpose commands



Copyright (c) 2007 GraphPad Software Inc. All rights reserved.
URL: http://www.graphpad.com/help/Prism5/Prism5Help.html?using_script_syntax.htm