Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

getVariable

smidget edited this page Jul 19, 2012 · 1 revision

Purpose

Gets a copy of a variable from the OpenSHAPA 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