Extensions.Persistence.Save

From emotive
Revision as of 09:53, 25 October 2018 by Hb (talk | contribs) (→‎OTL Examples)
Jump to navigation Jump to search

Classification

Name Save
Short Description Saves the value of an OTX variable
Class Action
Extension OTX Persistence extension
Group Persistence Relates Actions
Exceptions PersistenceSaveException
Checker Rules Persistence_Chk001
Standard Compliant Yes

OTL Syntax

Persistence.Save(Variable);

Description

The Save activity saves the value of an OTX variable of a valid data type to the storage.

Properties

Name Data Type Class Default Cardinality Description
Value - Variable - [1..1] The Variable to be stored persistently. The variable shall have a valid data type, which is checked by a new checker rule.

OTL Examples

/// Local Declarations

Float Float1;

/// Flow

Persistence.Save(Float1);

See also

Load