Skip to content

getVariable

Jesse Lingeman edited this page Mar 6, 2013 · 2 revisions

Purpose

Gets a copy of a variable from the Datavyu database and returns a RVariable.

Parameters

Variable Name

The name of the variable that you want to get from the database

Example

# Get a variable called trial from the database, store it in a Ruby variable called trial
trial = getVariable("trial")
# Print the cells of this variable
puts trial.cells