Please enable JavaScript to view this site.

Navigation: Scripts > Script details

Navigating a project

Scroll Prev Top Next More

Commands

GoTo <section: D, I, R, G, or L >, <sheet#>, V<tab#>

GoTo +        

 

Explanation

The GoTo command is used in almost every script, to navigate to a different sheet in the project as these examples show:

Example:

Description:

GoTo G

Go to the graphs section, to the most recently viewed graph.

GoTo 3

Go to the third sheet of the current section.

GoTo G, 3

Go to the third graph.

GoTo V2

Go to the second analysis tab of the current results.

GoTo R, 3, V2

Go to the second analysis tab of the third results sheet.

GoTo +

Go to the next sheet in the current section.

GoTo -

Go to the previous sheet in the current section.

Notes:

Prism numbers the sheets so the first sheet is #1. This seems normal to everyone except computer programmers, who expect the first one to be #0.

Don't forget to include a space (or comma) between the results and the view. The command "GoTo R4V2" goes to the default (current tab) of results sheet 4, and the view (analysis tab) part of the command is ignored.

 

 

 

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